Results 1 to 3 of 3

Thread: Pop-up from scroller?

  1. #1
    Join Date
    Jun 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Pop-up from scroller?

    I am using your message scroller script. I have been able to get links to open in a new page using target=blank. Ideally I would like to have a pop-up window from the scrolling link but in the alternative is it possible to define the new window size? I searched and could not find. Thanks

  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

    You would have to use something like this:
    Code:
    <a href="#" onclick="window.open('http://www.google.com/','win1','width=500,height=300');return false">Google</a>
    - John
    ________________________

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

  3. #3
    Join Date
    Jun 2005
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thanks

    Thanks man! Even tho I couldnt get your exact script to work, it allowed me to figure something else out. This is what I used:

    messages[0]="<font face='Arial'><a href='#' onclick=NewWindow('http://www.google.com/','mywin','500','300','no','center');return false>Google</a></font>"

    BTW I think this is a great site for such a nube as myself. I have some other questions about this but I wil search first. Thanks Again!

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
  •