There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Software Development
Tag Cloud
audio blue screen boot bsod computer cpu crash dell desktop driver drivers error excel external hard drive firefox freezes freezing hard drive hardware hijackthis internet internet explorer itunes laptop mac malware motherboard mouse network networking outlook 2007 power printer problem ram router screen slow sound trojan usb virus vista vista 32-bit windows windows vista windows xp winxp wireless wmp
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
Problem with using iframe, drop-down menu and table/frames.


Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members. Enjoy!

Closed Thread
 
Thread Tools
xxJackxx's Avatar
Member with 38 posts.
 
Join Date: Jun 2003
Location: England
12-Aug-2003, 10:35 AM #1
Problem with using iframe, drop-down menu and table/frames.
This is gonna take abit of explaining. I am in the middle of two different websites, both of which use iframes. The first, I have used a drop-down scrollbar in the same table as the iframe but can't get the links in the scrollbar to open up in the iframe, but I can if I put an ordinary link down. This is the first problem. The second on is on the other website. For this I have links in the left frame and my iframe is in my right frame. I can't seem to get the pages in the iframe. Can someone please help?
Thank you very much!!

xxJackxx
__________________
"Tell me, does it feel good to be like you
And tell me, why should I waste my time with you
Cuz maybe you always bring me down
And I'm sick of being pushed around
I'm not gonna change, you can't make me"
brendandonhu's Avatar
Distinguished Member with 15,988 posts.
 
Join Date: Jul 2002
Location: Ann Arbor, MI
Experience: Advanced
12-Aug-2003, 11:54 AM #2
I don't understand what you are asking...you want to get the links to open in the iframe?
Give the iframe a name, and add target="name" to your links.
xxJackxx's Avatar
Member with 38 posts.
 
Join Date: Jun 2003
Location: England
12-Aug-2003, 12:00 PM #3
I've tried that it didn't work. I have 2 different websites I'm working on. Both use Iframes. The first website is made with tables and in one of the tables in an iframe with a drop-down menu underneth. I have tried to target them in to the iframe but it didn't work.
On the second website I am using frames. In one frame there are links to all my pages. In the other frame is the iframe. I don't know how to target the link into the iframe. I have tried targeting it to the ifame but that didn't work. I wondered if anyone new what I could have done wrong or knows how to fix it.
Thanks.

xxJackxx
__________________
"Tell me, does it feel good to be like you
And tell me, why should I waste my time with you
Cuz maybe you always bring me down
And I'm sick of being pushed around
I'm not gonna change, you can't make me"
Fyzbo's Avatar
Senior Member with 1,779 posts.
 
Join Date: Feb 2002
Location: North Carolina, USA
Experience: Programming-Advanced|EVER
12-Aug-2003, 03:27 PM #4
If I remember correctly IFrames only work in Internet Explorer and NO other browser. Is this still the case? or have other browsers decided to adopt them?
NameTooLong's Avatar
Computer Specs
Senior Member with 353 posts.
 
Join Date: Dec 2002
Location: California, USA
Experience: Advanced
13-Aug-2003, 02:40 AM #5
Iframes work in at least Mozilla and Internet Explorer (I don't have anything else). If I understand your second problem correctly... You have a frameset page with 2 frames. One of the frames contains the links and the other frame contains the iframe. I don't think there is a way to direct the link to the iframe inside of the frame. The first problem is you have a dropdown box with links and when you click on a link in the list you want it to display in the iframe (correct?)... I think that is possible but I'm not completely sure how to do it, I'll go see if I can find something.
__________________
Say no to TCPA.
NameTooLong's Avatar
Computer Specs
Senior Member with 353 posts.
 
Join Date: Dec 2002
Location: California, USA
Experience: Advanced
13-Aug-2003, 03:03 AM #6
Could we get links to the sites in question or at least some of the code?
xxJackxx's Avatar
Member with 38 posts.
 
Join Date: Jun 2003
Location: England
16-Aug-2003, 10:46 AM #7
Sorry, it is not on the internet. I have just been doing the site design and not the content. However, I have fixed the first problem but I still can't get the links from the drom down scrollbar into the iframe

xxJackxx
cathy86's Avatar
Junior Member with 1 posts.
 
Join Date: Oct 2003
05-Oct-2003, 01:21 PM #8
i get ur problem, i had the same thing, use this code where u want the drop down menu


<form>
<select name=menu size="1"
onChange="window.open(this.options[this.selectedIndex].value,'nameoftargetiframe')"&gt;
style="background:#FFFFFF url(''); "
style="color: #000000"
style="font-family: TAHOMA"
style="border: LINE"
style="font-size: 12"
style="background: #FFFFFF">
<option value="0">START</option>
<option value="link1.html">LINK 1</option>
<option value="link2.html">LINK 2</option>
<option value="link3.html">LINK 3</option>
</select>
</form>

just change the links and the nameoftargetiframe

hope it works for you
xxJackxx's Avatar
Member with 38 posts.
 
Join Date: Jun 2003
Location: England
06-Oct-2003, 01:16 PM #9
Thanks, that worked!!

Take care,
Jack
Closed Thread

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.



Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 07:56 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.