Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> PHP
Author Message
Bigboy177
Worker
Worker



Joined: Jul 07, 2004
Posts: 192

PostPosted: Sat Jun 18, 2005 11:32 am Reply with quote

I've got a problem... I started transforming my site, so that it uses divs instead of iframes... But I've got a problem...

I've defined a javascript function which hides five divs, and only shows the one that is selected... but I can't make my site display the default javascript function which has selection links... It's something like that..

Code:


<div id=1>
Super
</div>

<div id=2>
Great
</div>

<div id=3>
Fantastic
</div>

<div id=4>
Good
</div>

<div id=5>
Very Good
</div>

<div id=6>
Excelent
</div>


And now I've got funtions in javascript which show the desired div... Everyfunction is called via a link...
But I want <div id=6> to be loaded as default when someone enters my site... How to define a default function... :]

Thank you very much... Smile

_________________
Gry Online 
View user's profile Send private message
Raven
Site Admin/Owner



Joined: Aug 27, 2002
Posts: 17088

PostPosted: Sat Jun 18, 2005 4:39 pm Reply with quote

The best way is to add it to your theme.php file after the body tag.
 
View user's profile Send private message
Bigboy177







PostPosted: Sat Jun 18, 2005 6:10 pm Reply with quote

Thanks again RAVEN...

It works great... Smile
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> PHP

View next topic
View previous topic
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 can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©