/    Sign up×
Community /Pin to ProfileBookmark

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!

to post a comment
JavaScript

9 Comments(s)

Copy linkTweet thisAlerts:
@gil_davisNov 22.2002 — [i]Originally posted by Bob [/i]

[B]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.[/B][/Quote]


(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.

[B]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.[/B][/QUOTE]

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.
Copy linkTweet thisAlerts:
@Beach_BumNov 22.2002 — 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.
Copy linkTweet thisAlerts:
@BobauthorNov 23.2002 — 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!
Copy linkTweet thisAlerts:
@BobauthorNov 23.2002 — 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)
Copy linkTweet thisAlerts:
@Beach_BumNov 23.2002 — 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.
Copy linkTweet thisAlerts:
@gil_davisNov 23.2002 — [i]Originally posted by Bob [/i]

[B]Gil Davis, that is awesome...loved the way you did that, please show![/B][/QUOTE]


I put together an example page with some instructions at http://home.att.net/~gil.davis/openit_example.htm.
Copy linkTweet thisAlerts:
@Zach_ElfersNov 23.2002 — (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!?
Copy linkTweet thisAlerts:
@BobauthorNov 23.2002 — 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!
Copy linkTweet thisAlerts:
@BobauthorNov 23.2002 — 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
×

Success!

Help @Bob spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...