PC Review


Reply
Thread Tools Rate Thread

How can I add hyperlinks to a drop down menu in Frontpage 2002?

 
 
=?Utf-8?B?U21pbGll?=
Guest
Posts: n/a
 
      14th Jun 2005
In the Form Field properties box I have entered the "target Pages" under
values, but the links do not work. Why?
 
Reply With Quote
 
 
 
 
Mark Fitzpatrick
Guest
Posts: n/a
 
      14th Jun 2005
Unfortunately, the drop-down menu doesn't know anything about hyperlinks or
navigating. A drop down in itself is not a menu, it is simply a dropdown
list of name/value pairs. You need something else to turn it into a menu.
These are often called jump menus because they let users jump to a specified
selection.

You'll need to get a JavaScript to do this and call it through the onchange
event of your dropdown box, though you may also want to have a go button
handy for users who have a browser too old for the onchange event to work.
Here's a handy one at:
http://javascript.internet.com/navig...jump-menu.html There are also
other scripts available at javascript.internet.com and www.dynamicdrive.com

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage

"Smilie" <(E-Mail Removed)> wrote in message
news:A272B213-0AFF-4174-95A1-(E-Mail Removed)...
> In the Form Field properties box I have entered the "target Pages" under
> values, but the links do not work. Why?



 
Reply With Quote
 
=?Utf-8?B?RGFuIEw=?=
Guest
Posts: n/a
 
      15th Jun 2005
This works for a drop down menu:
<form>
<select onChange="if(options[selectedIndex].value)
window.location.href=(options[selectedIndex].value)">
<option>Select a search engine...
<option value="http://www.yahoo.com">Yahoo
<option value="http://www.google.com">Google
<option value="http://www.lycos.com">Lycos
</select>
</form>

"Smilie" wrote:

> In the Form Field properties box I have entered the "target Pages" under
> values, but the links do not work. Why?

 
Reply With Quote
 
Trevor L.
Guest
Posts: n/a
 
      16th Jun 2005
Dan L,
I have read this thread and used it on my website.

A small question :
Should there be closing option tags i.e. </option> or is this
redundant/optional ?

Anyway, my actual question is this.

How can I
1. Reduce the width of the text boxes with the option text in them
and
2. Get a line break in these text boxes. I have tried <br> and and
both are just ignored.

I ask because I placed this form in a sidebar menu frame (changing
window.location to top.location) and due to its width, it causes a
horizontal scrollbar to appear and the down arrow is only visible in the
frame when one scrolls sideways.

--
Cheers,
Trevor L.
Website: http://tandcl.homemail.com.au

Dan L wrote:
> This works for a drop down menu:
> <form>
> <select onChange="if(options[selectedIndex].value)
> window.location.href=(options[selectedIndex].value)">
> <option>Select a search engine...
> <option value="http://www.yahoo.com">Yahoo
> <option value="http://www.google.com">Google
> <option value="http://www.lycos.com">Lycos
> </select>
> </form>
>
> "Smilie" wrote:
>
>> In the Form Field properties box I have entered the "target Pages"
>> under values, but the links do not work. Why?



I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html


 
Reply With Quote
 
Thomas A. Rowe
Guest
Posts: n/a
 
      16th Jun 2005
Yes, it should have the closing tag for each line item.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WebMaster Resources(tm)
http://www.ycoln-resources.com
FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================

"Trevor L." <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Dan L,
> I have read this thread and used it on my website.
>
> A small question :
> Should there be closing option tags i.e. </option> or is this redundant/optional ?
>
> Anyway, my actual question is this.
>
> How can I
> 1. Reduce the width of the text boxes with the option text in them
> and
> 2. Get a line break in these text boxes. I have tried <br> and and both are just ignored.
>
> I ask because I placed this form in a sidebar menu frame (changing window.location to
> top.location) and due to its width, it causes a horizontal scrollbar to appear and the down arrow
> is only visible in the frame when one scrolls sideways.
>
> --
> Cheers,
> Trevor L.
> Website: http://tandcl.homemail.com.au
>
> Dan L wrote:
>> This works for a drop down menu:
>> <form>
>> <select onChange="if(options[selectedIndex].value)
>> window.location.href=(options[selectedIndex].value)">
>> <option>Select a search engine...
>> <option value="http://www.yahoo.com">Yahoo
>> <option value="http://www.google.com">Google
>> <option value="http://www.lycos.com">Lycos
>> </select>
>> </form>
>>
>> "Smilie" wrote:
>>
>>> In the Form Field properties box I have entered the "target Pages"
>>> under values, but the links do not work. Why?

>
>
> I choose Polesoft Lockspam to fight spam, and you?
> http://www.polesoft.com/refer.html
>



 
Reply With Quote
 
=?Utf-8?B?RGFuIEw=?=
Guest
Posts: n/a
 
      16th Jun 2005
I'm pretty sure there's no need for the </option>.
As for width of the drop down boxes, that's driven by the amount of text you
put into any one box - if one is wide, they'll all be that wide.
Sorry, I can't answer the <br> question. You might open a new thread and
ask "the pros" (then we'll both know :-)

"Trevor L." wrote:

> Dan L,
> I have read this thread and used it on my website.
>
> A small question :
> Should there be closing option tags i.e. </option> or is this
> redundant/optional ?
>
> Anyway, my actual question is this.
>
> How can I
> 1. Reduce the width of the text boxes with the option text in them
> and
> 2. Get a line break in these text boxes. I have tried <br> and

and
> both are just ignored.
>
> I ask because I placed this form in a sidebar menu frame (changing
> window.location to top.location) and due to its width, it causes a
> horizontal scrollbar to appear and the down arrow is only visible in the
> frame when one scrolls sideways.
>
> --
> Cheers,
> Trevor L.
> Website: http://tandcl.homemail.com.au
>
> Dan L wrote:
> > This works for a drop down menu:
> > <form>
> > <select onChange="if(options[selectedIndex].value)
> > window.location.href=(options[selectedIndex].value)">
> > <option>Select a search engine...
> > <option value="http://www.yahoo.com">Yahoo
> > <option value="http://www.google.com">Google
> > <option value="http://www.lycos.com">Lycos
> > </select>
> > </form>
> >
> > "Smilie" wrote:
> >
> >> In the Form Field properties box I have entered the "target Pages"
> >> under values, but the links do not work. Why?

>
>
> I choose Polesoft Lockspam to fight spam, and you?
> http://www.polesoft.com/refer.html
>
>
>

 
Reply With Quote
 
116
Guest
Posts: n/a
 
      29th Jan 2010
What would be needed to have the page open to NEW?

David

"Dan L" wrote:

> This works for a drop down menu:
> <form>
> <select onChange="if(options[selectedIndex].value)
> window.location.href=(options[selectedIndex].value)">
> <option>Select a search engine...
> <option value="http://www.yahoo.com">Yahoo
> <option value="http://www.google.com">Google
> <option value="http://www.lycos.com">Lycos
> </select>
> </form>
>
> "Smilie" wrote:
>
> > In the Form Field properties box I have entered the "target Pages" under
> > values, but the links do not work. Why?

 
Reply With Quote
 
Hot-text
Guest
Posts: n/a
 
      29th Jan 2010

http://docs.cs.up.ac.za/programming/.../ken/menu1.htm <<< INFO drop
down menu open new page



"116" <(E-Mail Removed)> wrote in message
news:E416FC3B-1A8E-418A-9DC6-(E-Mail Removed)...
> What would be needed to have the page open to NEW?
>
> David
>
> "Dan L" wrote:
>
>> This works for a drop down menu:
>> <form>
>> <select onChange="if(options[selectedIndex].value)
>> window.location.href=(options[selectedIndex].value)">
>> <option>Select a search engine...
>> <option value="http://www.yahoo.com">Yahoo
>> <option value="http://www.google.com">Google
>> <option value="http://www.lycos.com">Lycos
>> </select>
>> </form>
>>
>> "Smilie" wrote:
>>
>> > In the Form Field properties box I have entered the "target Pages"
>> > under
>> > values, but the links do not work. Why?


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hyperlinks Frontpage 2002 =?Utf-8?B?RGF2aWQgQ2xpZmZvcmQ=?= Microsoft Frontpage 2 24th Mar 2006 12:08 PM
Drop Down Menu with Hyperlinks B_Ward Microsoft Excel Programming 2 21st Dec 2005 10:03 PM
hyperlinks in Frontpage 2002 =?Utf-8?B?dGlnZw==?= Microsoft Frontpage 3 9th Feb 2005 05:18 PM
hyperlinks in Frontpage 2002 =?Utf-8?B?dGlnZ3JyMl85OQ==?= Microsoft Frontpage 1 9th Feb 2005 04:58 PM
FrontPage 2002 hyperlinks and XP Jon F. Microsoft Frontpage 6 27th Jul 2003 12:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:09 PM.