dcsimg
www.webdeveloper.com
Results 1 to 10 of 10

Thread: Help with a couple things (prob. easy for you all)

  1. #1
    Join Date
    Nov 2002
    Posts
    5

    Help with a couple things (prob. easy for you all)

    Hi all, I am new to this whole java area, which I think is the area these questions refer to, maybe dhtml.

    Anyways, I would like to add a drop down menu when I hover over a link. I have seen some menus that when you hover over them it opens up more menus, but none that I Can simply add to an existing page I have. In other words... I would have to change all the looks of my links, and everything else with that. If it would help to see the page, I will post the link.

    Second question.

    How do I link a picture to open up in a new window, that fits to my picture and without all the back buttons and stuff up top. 640 x 480 is the size of the pictures. Greatly appreciate any help thx!

  2. #2
    Join Date
    Nov 2002
    Posts
    4,473

    Re: Help with a couple things (prob. easy for you all)

    Originally posted by Bob
    I would like to add a drop down menu when I hover over a link...that I Can simply add to an existing page I have.
    (lol) "Drop down menu" and "simply" don't belong in the same sentence. They are never simple. Especially to add to a page without totally breaking something.

    How do I link a picture to open up in a new window, that fits to my picture and without all the back buttons and stuff up top. 640 x 480 is the size of the pictures.
    Take a look at http://gil.davis.home.att.net/shuttle4.htm and click on a patch. If you like it, I'll tell you how it's done or answer other questions.

  3. #3
    Join Date
    Nov 2002
    Posts
    421
    use window.open and give it the size you want. by default the new window will only have the buttons at the top right and will not be resizeable.

    but popup windows are a bad thing these days, as many people have software to stop them due to all those annoying ads.

    consider alternatives, like putting the item in your window as hidden and unhide it when you click on whatever to see it.

  4. #4
    Join Date
    Nov 2002
    Posts
    5
    Thanks for the replies!

    Gil Davis, that is awesome...loved the way you did that, please show! Here is the web site I am building for my sister, I have a ton of stuff to keep uploading as it is a brand new web site, and 56k takes a while to upload pictures. Tell me what you think I should do to improve the professional quality/users ability to use the site. It is for her business, and would love to do the best I can for her to save her some money hiring a professional. (Doh)
    http://www.rockymountainbasketcompany.com/

    Thanks again.

    PS, the drop down menu I would like to add where the link on top says "Baskets" so when you hover it, the user can click different catagories. (ie. seasonal, birthdays, etc.) Should I just have it link to a new page, then select the catagories?

    Thanks all!

  5. #5
    Join Date
    Nov 2002
    Posts
    5
    Hi all again, need some more help. Why does the e-mail form when you fill it out, come up with a pop up message asking if it should send the e-mail, then when you click ok it opens up your e-mail program to send the message....how do i get it to just send the message like other web sites?

    http://www.rockymountainbasketcompany.com/test.htm

    If you get it to work send the message to (webmaster)

  6. #6
    Join Date
    Nov 2002
    Posts
    421
    I think you are asking about two different things.

    One is email - which will use your default email to send an email to the address in the link.

    I think what you have seen is not mail, but rather a form which will populate a db on the server - not really email. as they say - that is a horse of a different color.

    i do not think there is a way to do what you are asking.

  7. #7
    Join Date
    Nov 2002
    Posts
    4,473
    Originally posted by Bob
    Gil Davis, that is awesome...loved the way you did that, please show!
    I put together an example page with some instructions at http://home.att.net/~gil.davis/openit_example.htm.

  8. #8
    Join Date
    Nov 2002
    Posts
    631
    (Let me see if I'm remembering this right)

    Here:

    <script language="JavaScript">

    function SlideMenu(currMenu) {
    if (document.getElementById) {
    thisMenu = document.getElementById(currMenu).style
    if (thisMenu.display == "block") {
    thisMenu.display == "none";
    }
    else {
    thisMenu.display == "block";
    }
    return false;
    }
    else {
    return true;
    }
    }

    </script>

    <a href="www.site.com" onMouseOver="return SlideMenu('menu');">Put Text Here</a>

    <div id="menu" style="display:none;">

    contents of menu

    </div>

    Hope that helps!

  9. #9
    Join Date
    Nov 2002
    Posts
    5
    Hey Gil, THANKS a ton, worked wonders.hahaha.

    Here is the web form that I was talking about, this guys just e-mails.

    http://www.broncoair.com/broncocontact.html

    Any other ideas on the menu with "baskets" link.

    Thanks!

  10. #10
    Join Date
    Nov 2002
    Posts
    5
    Hey Zach, I was playing around with that. I am so new to java I didn't really know what I was looking at. I just put that into the body of a blank page, and got a link to come up, but no menu type stuff. Thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles