Clan Adverts

Sponsors

CT on Facebook

Latest Product

User Box

Anonymous
38.107.179.218
Nickname:

Password:

Security Code
Security Code
Type Security Code


PND Downloads Feed

Phpnuke Downloads
How to Delete or Reset yo...
How to Delete or Reset your PHPNuke Admin Account
Lost your admin password ?  Cant login to your admin account ? This s...
Back Online & Stuff
Back Online & Stuff
Look at us with our nifty website back up and running… Seriously...
How to edit the admins in...
How to edit the admins in the forums
Here is a way to make someone admin in your forums on your Evo site. I...
Demo Splash Screen
Demo Splash Screen
Ped @ Clan Themes has released a simple splash screen entrance hack. ...
Free Phpnuke Business The...
Free Phpnuke Business Theme 6
This is the 6th Business theme for Phpnuke that Clan Themes has releas...
Tricked Out Slider
Tricked Out Slider
We have seen some great new things come out of Tricked Out News and th...

Custom Work

PHP Nuke Custom Work

www.clanthemes.com :: View topic - Question about embeding a .js and .css file into a phpmodule
Question about embeding a .js and .css file into a phpmodule

2 Replies / 561 Views


Post new topic   Reply to topic  

   www.clanthemes.com Forum Index » Scripts

View previous topic :: View next topic


Emmons
Reputation: 0.9 Add RepSubtract Rep
Local time: 4:31 AM
Location: Iraq
usa.gif

Noob
Noob

0.01 posts per day
Medals: 0

Joined: Oct 15, 2010
Last Visit: 25 Oct 2010
Posts: 6
Points: 500 

Post Question about embeding a .js and .css file into a phpmodule Posted: Sat Oct 16, 2010 10:04 pm

I have this javascript/css slideshow gallery to display gaphics i made and im trying to incorporate the slideshow into a custom module I made.

for example i have modules/Gallery inside this i have the index.php coding all right to where i could just use html to make a page. inside the header just like on a normal html page you have the link rel= stylesheet href= gallery.css type="text/css" script type="text/javascript" src="gallery.js" well it shows the images but it won't show the javascript nor the css page.

All Im asking how to code the javascript and css page i made into the custom modules page.

Any Ideads??
 

 
View user's profileSend private messageVisit poster's website Reply with quote

Snype
Reputation: 304.8 Add RepSubtract Rep
votes: 8
Local time: 3:31 AM
Location: lincolshire
uk.gif



0.53 posts per day
Medals: 1 (View more...)
Site Supporter (Amount: 1)
Respected Member
Respected Member
Joined: May 20, 2008
Last Visit: 27 Mar 2012
Posts: 779
Points: 60766 

Post Question about embeding a .js and .css file into a phpmodule Posted: Sat Oct 16, 2010 10:31 pm

Shop Purchases:
Call of Duty 4 SAS Theme

first what version of phpnuke are you using?
 

WebSite > http://www.phpnukeblog.info Xfire > DDsnype MSN > ritchietaylor@live.co.uk Email > admin@phpnukeblog.info  
View user's profileSend private messageVisit poster's websiteMSN Messenger Reply with quote

Emmons
Reputation: 0.9 Add RepSubtract Rep
Local time: 4:31 AM
Location: Iraq
usa.gif

Noob
Noob

0.01 posts per day
Medals: 0

Joined: Oct 15, 2010
Last Visit: 25 Oct 2010
Posts: 6
Points: 500 

Post Question about embeding a .js and .css file into a phpmodule Posted: Sat Oct 16, 2010 10:41 pm

AHHH! HAngel! I fixed it. I put the .js and .css file in the includes folder, edited the javascript.php file just under the ?> close php I add the:
script type="text/javascript" src="includes/javascript.js"></script
link rel="stylesheet" href="includes/style.css" type="text/css"

After I did that i refreshed my page and everything worked.
Sorry for you time but if anyone has questions about embeding .js and .css files into a custom module PM or post on her.

Embarrased
 

 
View user's profileSend private messageVisit poster's website Reply with quote

Post new topic   Reply to topic  
   www.clanthemes.com Forum Index » Scripts


 
2 Replies / 561 Views
Page 1 of 1
All times are GMT
Display posts from previous:   
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum