Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How do I add a dropdown list?How do I add a dropdown list?
Previous
 
Next
New Post
10/27/2006 3:57 PM
 

Hello

I would like to include a dropdown selection option list.  However, it involves using a html form element and javascript to the head of the page.  How can I insert this into my DNN page?

<SCRIPT Language="JavaScript">
<!-- hide from old browsers
  function loadPage(pageURL){
    location.href = pageURL.options[pageURL.selectedIndex].value
    }
//-->
</SCRIPT>

Select Your Choice of Colour from Dropdown List


<FORM>
<FONT SIZE=4>    
<P>&nbsp;&nbsp;
<SELECT NAME="selectMenu1" onChange="loadPage(this)" SIZE=4>
  <OPTION VALUE="blue.htm">Blue Choice</OPTION>
  <OPTION VALUE="red.htm">Red Choice</OPTION>
  <OPTION VALUE="green.htm">Green Choice</OPTION>
  <OPTION VALUE="white.htm">White Choice</OPTION>
  <OPTION VALUE="pink.htm">Pink Choice</OPTION>
  <OPTION VALUE="yellow.htm">Yellow Choice</OPTION>
</SELECT>
</FONT>

 

Any Suggestions?

Thanks

Lynn


www.seemalta.net
 
New Post
10/27/2006 5:13 PM
 

Hi Eureka,

Looks like you want to use it for navigation to those pages, you can use the LINKS module, you can define the link types as URL when adding links and then go to the setting of that instance of the LINKS module and under Links Setting and select dropdown for Control Type. You don't need to use the script as it just opens the selected page, which is already done by the LINKS module.

If you do want to include any script for other functions the you can go to the settings of the page you want to include the script in and under Advanced Settings put the script in the Page Header Tag... I think...

Form controls can not be included in the Text/Html module or any other module for that matter.... you will have to purchase a third party forms module to build custom forms in DNN.

Hope this helps


AGM
infotechniq Inc.
Technology Solutions for Small Business.
www.infotechniq.com

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How do I add a dropdown list?How do I add a dropdown list?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out