Results 1 to 2 of 2

Thread: Help on html frame

  1. #1
    Join Date
    Jun 2003
    Location
    bangi
    Posts
    45
    Rep Power
    0

    Help on html frame

    I know this is quite basic question. huhu. I'm developing a website using html + frame (as a based before my other officemate integrated it with java, oracle etc). The page is divided into 3 parts which is top menu, left menu & main frame. What I want to do is, when user click on top menu, both left menu & main frame will change. the main frame should change to one default page (frame_main.htm).

    i've try to put multiple target and it didn't work.hehe
    then, i put these scripts in top menu section , but it didn't work too:

    <script language="JavaScript" type="text/JavaScript">

    function changeLeftMenu(x){
    window.parent.frames['leftFrame'].location.href = x;
    window.parent.frames['mainFrame'].location.href = 'frame_main.htm';
    }
    </script>
    can someone please help me?
    i'm a very..very..beginner

  2. #2
    Join Date
    Jun 2003
    Location
    bangi
    Posts
    45
    Rep Power
    0
    About the problem above, i've just found out the solution. I'm still using the same script and call the function as written here:
    <a href="javascript:changeLeftMenu('leftframe.html')" class="bannerLink">Main Menu </a> </th>
    i'm forgot to call the function..huhu.. that's why it didn't work..

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. PSD to HTML/CSS
    By therion in forum Advertise Your Services
    Replies: 0
    Last Post: 24-12-2008, 03:06 AM
  2. problem with 2 frame target...
    By donut in forum Website Design
    Replies: 6
    Last Post: 13-10-2008, 05:45 PM
  3. html
    By hafiza in forum Website Design
    Replies: 9
    Last Post: 23-04-2008, 11:17 AM
  4. PHP into HTML
    By arthermax in forum Website Programming
    Replies: 4
    Last Post: 18-04-2007, 07:03 PM
  5. How to do inline frame?
    By elfreakz in forum Website Design
    Replies: 14
    Last Post: 09-11-2003, 11:37 PM

Posting Permissions

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

Search Engine Optimization by vBSEO 3.5.0 RC1 PL1

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37