PDA

View Full Version : help with a script



cybershot
03-29-2008, 04:17 AM
1) Script Title: Drop in Content Box

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/dropinbox.htm

3) Describe problem: I have the script working properly and it is awsome. What i would like is to have it launch the page based on a link instead of the page loading. i have a homepage. I have a 4 links. Portfolio, contact us, privacy policy and home. I would like this script to drop in the different pages right over the homepage instead of having to click the link and load the new page and then have it drop in. Can anyone help me with that?

rangana
03-29-2008, 04:47 AM
Remove this part in the script:


window.onload=initbox


If you wish it to load during onclick, use the onlick attribute instead. Something like this should keep you going:


<a href="#" onclick="initbox(); return false;">Search</a>


See if it helps ;)