Results 1 to 2 of 2

Thread: help with a script

  1. #1
    Join Date
    Mar 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default help with a script

    1) Script Title: Drop in Content Box

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici.../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?

  2. #2
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    Remove this part in the script:
    Code:
    window.onload=initbox
    If you wish it to load during onclick, use the onlick attribute instead. Something like this should keep you going:
    Code:
    <a href="#" onclick="initbox(); return false;">Search</a>
    See if it helps
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •