Results 1 to 3 of 3

Thread: Interstitial Content Box default:onload i want:onclick

  1. #1
    Join Date
    Jun 2006
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Interstitial Content Box default:onload i want:onclick

    1) Script Title:

    Interstitial Content Box

    2) Script URL (on DD):

    http://www.dynamicdrive.com/dynamici...terstitial.htm

    3) Describe problem:

    Hi, well i found that script that would be perfect if..it wouldn't load on itself,
    i'm a javascript noob and i can't make it work from a mouse click instead of being called on page load.
    so my interest is for a person to stay on my page and have the interstitial overlay open if you click on a link.

    i hope i was clear enough, the worst is that i'm pretty sure it will be an easy solution but i can't call the interstitial.js from a button, don't know why...

    have a nice day
    Last edited by noobster; 01-10-2007 at 02:41 PM. Reason: misleading title, i think

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I'm considered an expert or at least pretty advanced and I had a heck of a time getting this script to work onclick instead of onload, I did finally figure out a way but, it's pretty complicated and I still haven't worked out the details as to where on the page things will appear and what happens to scrollbars at various stages of the display. It really isn't designed to work that way at all. This script:

    http://particletree.com/features/lightbox-gone-wild/

    is designed to work like that, though. See if its more what you are looking for. In the meantime, I will see if I can get the interstitial setup with a front-end to make it work more easily onclick and iron out those details as, it's code is more compact than the above linked script.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jun 2006
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    well, that's obvious why i didn't find a way to call this script myself then

    thanks a lot for your script, this is what i was looking for.

    that's strange that the developper of the interstitial didn't think about onclick applications...great job you both anyway.

    have a nice day


    ps: i did that using layers to cheat a little and to find a quick solution ...

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
  •