Results 1 to 8 of 8

Thread: NewB question

  1. #1
    Join Date
    Oct 2004
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default NewB question

    I have just started creating web pages and I find cool new stuff every day!

    I like the script for the "Image onMouseOver Effects". When your mouse runs over the "Link 1" or "Link 2" links, an information popup appears.

    Here is my question... I am able to change the popup window's width to enter more text information, but I was wondering if it was possible to add more than one picture to the window?

    Thanks in advance!

  2. #2
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Yes, the script will accept that.

    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  3. #3
    Join Date
    Oct 2004
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    OK!
    How?

  4. #4
    Join Date
    Oct 2004
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    The line
    // tooltip content goes here (image, description, optional bgColor, optional textcolor)
    seems to only take one image as a variable. How do you change it to take more?

  5. #5
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Try this, it might well work:

    messages[0] = new Array('red_balloon.gif','Here is a red balloon on a white background<img src="file.gif">',"#FFFFFF");

    cr3ative
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  6. #6
    Join Date
    Oct 2004
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    or:

    Code:
    messages[0] = new Array('yourimage.gif','yoursecondimage.gif','Your Text',"#FFFFFF");
    Might work

  7. #7
    Join Date
    Aug 2004
    Location
    Brighton
    Posts
    1,563
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I really doubt that this above ^^ will work; if you look at how the script handles the array, it would not accept this.
    (Fool.)

    cr3ative
    Last edited by cr3ative; 11-23-2004 at 02:42 PM.
    A retired member, drop me a line through my site if you'd like to find me!
    cr3ative media | read the stickies

  8. #8
    Join Date
    Oct 2004
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Cr3ative's script lines worked wonderfully! Thanks!
    Is it possible now to post the text right after the image(s) instead of under them? How?

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
  •