50 users online (0 members and 50 guests)  


  Results 1 to 6 of 6

Related

  1. Replies: 8
  2. Replies: 0
  3. Another Java-Script Question    Forum: Javascript Forum
    Replies: 4
  4. Another Question    Forum: HTML Forum
    Replies: 2
  5. AnOtHeR QuEsTiOn    Forum: HTML Forum
    Replies: 1
  1. #1
    sshadow's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Mar 2001
    Location
    Ga, USA
    Posts
    48

    Question Question about Script.

    I have been looking around on the various sites at the menu java scripts. I like the pull down scripts but i would still like a few choices. But my main question is does anyone know of a place I can get a javascript for menus that would help me in the following. I have a website and I use frames ( here it is if you wanna take a look http://keepersofvictory.cjb.net ) I want a way to make the javascript menu in the left frame (whichever one i decide to go with) open the page in the right frame. Can javascript do this? Does anyone know where I can go to find them. I have been to the links the wonderful people at AHFB2k proide but their menus look as if they only open the link in the same frame. Sorry this is so long but I have worked hard on this site and a menu such as this will help greatly.

    ------------------
    Shadow

  2. #2
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Post

    You should be able to use any of the scripts and still set the target frame.

    Dave

    [This message has been edited by Dave (edited 03-08-2001).]

  3. #3
    sshadow's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Mar 2001
    Location
    Ga, USA
    Posts
    48

    Question

    Thanx for the quick reply. Thats great could you help me with this script below. Just tell me where I put the target frame and what do I put.

    <SCRIPT language="JavaScript">
    <!-- Hide the script from old browsers --
    function surfto(form) {
    var myindex=form.dest.selectedIndex
    window.open(form.dest.options[myindex].value,"main","");
    }
    //--> </SCRIPT>
    <CENTER>
    <FORM NAME="myform">
    <SELECT NAME="dest" SIZE=1>
    <OPTION SELECTED VALUE="">---------- A Simple Menu -----------
    <OPTION VALUE="http://www.javafile.com/">JavaFile Main
    <OPTION VALUE="http://www.bravenet.com">Bravenet Web Services
    <OPTION VALUE="http://htmlclinic.com">HTML Clinic
    <OPTION VALUE="http://net3media.com">Net3media.com </SELECT>
    <P>
    <INPUT TYPE="BUTTON" VALUE="Drop Down Surfing!" onClick="surfto(this.form)">
    </FORM>
    </CENTER>

    ------------------
    Shadow

  4. #4
    sshadow's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Mar 2001
    Location
    Ga, USA
    Posts
    48

    Talking

    Oh also I want to put a link to you on my website. Is there somewhere on your site that you have a selection of small images I can choose from like no bigger than 150x150 thanx.

    ------------------
    Shadow

  5. #5
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Post

    <SCRIPT language="JavaScript">
    <!-- Hide the script from old browsers --
    function surfto(form) {
    var myindex=form.dest.selectedIndex
    window.open(form.dest.options[myindex].value,"main","");
    }
    //--> </SCRIPT>

    simply change the word main to the name of your target frame.

    I have no buttons or banners, you are free to use the logo I believe it is 31x190, or if you choose just a simple text link. Thanks,

    Dave

  6. #6
    sshadow's Avatar
    Junior Member

    Status
    Offline
    Join Date
    Mar 2001
    Location
    Ga, USA
    Posts
    48

    Talking

    Thanx for all your help man. I may design a cool button to use but I will deffinitly put a link to you on my page. Thanx again.

    ------------------
    Shadow



Tags for this Thread