Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8

Thread: Imagemap help!?

  1. #1
    New to the CF scene
    Join Date
    Jul 2002
    Location
    Houston, TX
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Imagemap help!?

    Ok, here is the deal...I know how to do image maps and they are pretty easy. I am currently redoing my sites layout and I am trying some different things. I have an image that I have already mapped out and everything...the thing is that I want my links on the map to come up in a popup window that is about 400wide and 500 in height.

    I am kinda brain dead on how to go about doing this. If anyone could help guide me in the right direction that would be great!

    Thanx,

    -Snake-

  • #2
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,278
    Thanks
    4
    Thanked 83 Times in 82 Posts
    In your area tag:

    <area ... href="javascript:window.open('page.html','windowname','width=400,height=500');">
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster

  • #3
    New to the CF scene
    Join Date
    Jul 2002
    Location
    Houston, TX
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Perfect!!! I am new to using Java Script...I basically just know HTML and PERL related stuff.

  • #4
    New to the CF scene
    Join Date
    Jul 2002
    Location
    Houston, TX
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Ok...i have a problem....what you told me works fine except one thing....when I click the image link the window pops up and everything...but then the page I clicked the link on turns to a blank page and says: "[object]" but when I look at the address bar it is at the page that i clicked the link on....it just doesn;t look like it.

    How do i stop if from doing this???

    Also...how do I add scrollbars to the popup window too???
    Last edited by WhiteSnakerr; 07-09-2002 at 07:02 AM.

  • #5
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,278
    Thanks
    4
    Thanked 83 Times in 82 Posts
    <area ... href="#" onClick="window.open('page.html','windowname','scrollbars=yes,width=400,height=500');">
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster

  • #6
    New to the CF scene
    Join Date
    Jul 2002
    Location
    Houston, TX
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanx bro...that did it!

  • #7
    Regular Coder
    Join Date
    Jun 2002
    Location
    TEXAS . . . 'nuf said
    Posts
    468
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'm thinking your "user profile" could use a slight adjustment:

    Houston

    Gordo
    "In the End, we will remember not the words of our enemies, but the silence of our friends."
    - Martin Luther King Jr. (1929-1968)

  • #8
    New to the CF scene
    Join Date
    Jul 2002
    Location
    Houston, TX
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ops.... I always do that!

    thanx...


  •  

    Posting Permissions

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