Webmaster Forum


Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Coding Forum Problems with your code? Let's hear about it.

Sponsored Reviews   Perfect Money   V7N Directory

Reply
 
LinkBack Thread Tools Display Modes
Old 05-05-2007, 06:50 PM   #1 (permalink)
v7n Mentor
 
Calisonder's Avatar
 
Join Date: 10-13-03
Location: Dallas, Texas, U.S.A.
Posts: 2,174
iTrader: 0 / 0%
Latest Blog:
None

Calisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really nice
Send a message via AIM to Calisonder
IFRAME and links

i have an iframe that is part of my navagation. how to i make it where someone can click the link in the iframe, but it loads up in the main page.

please see example pic


i think there is a simple short javascript????

thanks
Attached Thumbnails
iframe-links-example.jpg  
__________________
"The music that really turns me on is either running toward God or away from God. Both recognize the pivot, that God is at the center of the jaunt."
::: Bono :::
Calisonder is offline  
Add Post to del.icio.us
Reply With Quote
Sponsored Links
SEO Hosting by HostGator  Advertise Here  Buy Blog Links
Old 05-05-2007, 07:52 PM   #2 (permalink)
v7n Mental
 
waffles's Avatar
 
Join Date: 06-30-06
Location: Not where I want to be.
Posts: 1,485
iTrader: 1 / 100%
waffles is a name known to allwaffles is a name known to allwaffles is a name known to allwaffles is a name known to allwaffles is a name known to allwaffles is a name known to allwaffles is a name known to allwaffles is a name known to allwaffles is a name known to allwaffles is a name known to allwaffles is a name known to all
Send a message via AIM to waffles
Don't use iframes.

Seriously. You can use PHP or server side includes and keep the ability to only update one file to change the menu everywhere. The server treats it as if you have the menu hard coded onto every page.
__________________
waffles Radio - Back on the air. Listen Mondays from 4-6 or catch the bootleg whenever

Juggle Chainsaws What happens when a college kid gets the bright idea to write
waffles is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-05-2007, 10:00 PM   #3 (permalink)
v7n Mentor
 
Calisonder's Avatar
 
Join Date: 10-13-03
Location: Dallas, Texas, U.S.A.
Posts: 2,174
iTrader: 0 / 0%
Latest Blog:
None

Calisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really nice
Send a message via AIM to Calisonder
i understand that but doesn't my pape have to be .php instead of .html to use php. if not then i would do that?
__________________
"The music that really turns me on is either running toward God or away from God. Both recognize the pivot, that God is at the center of the jaunt."
::: Bono :::
Calisonder is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-06-2007, 06:13 AM   #4 (permalink)
v7n Mental
 
waffles's Avatar
 
Join Date: 06-30-06
Location: Not where I want to be.
Posts: 1,485
iTrader: 1 / 100%
waffles is a name known to allwaffles is a name known to allwaffles is a name known to allwaffles is a name known to allwaffles is a name known to allwaffles is a name known to allwaffles is a name known to allwaffles is a name known to allwaffles is a name known to allwaffles is a name known to allwaffles is a name known to all
Send a message via AIM to waffles
PHP is just an extension that tells your server that there could be some PHP code to parse.

You can also go into you .htaccess file and tell it to parse things with an HTML extension, although I'm not sure how to set that up.

The easier route would be to change everything to PHP pages, put in that code, set a line in your .htacess file to change all .html extensions to .php and you're good to go.
__________________
waffles Radio - Back on the air. Listen Mondays from 4-6 or catch the bootleg whenever

Juggle Chainsaws What happens when a college kid gets the bright idea to write
waffles is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-06-2007, 12:21 PM   #5 (permalink)
v7n Mentor
 
Calisonder's Avatar
 
Join Date: 10-13-03
Location: Dallas, Texas, U.S.A.
Posts: 2,174
iTrader: 0 / 0%
Latest Blog:
None

Calisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really nice
Send a message via AIM to Calisonder
ok thanks i did that on one of my sites, i just did, find all, replace .html with .php, so now all my links are updated and everything


but i still would like to know how to do what is stated in my initial question, the picture diagram i'm using is not actually what i'm doing, i just didn't fell like completly explaining myself.

i'm actually making a mini search that is done using i frames but appears like an actually database search but infact is not.

so i still need to know how that is done.

anybody?
__________________
"The music that really turns me on is either running toward God or away from God. Both recognize the pivot, that God is at the center of the jaunt."
::: Bono :::
Calisonder is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-17-2007, 01:57 PM   #6 (permalink)
v7n Mentor
 
Calisonder's Avatar
 
Join Date: 10-13-03
Location: Dallas, Texas, U.S.A.
Posts: 2,174
iTrader: 0 / 0%
Latest Blog:
None

Calisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really niceCalisonder is just really nice
Send a message via AIM to Calisonder
this is my code:


<select name="category" onchange="window.open(this.options[this.selectedIndex].value,'_self')">
<option value='' selected="selected">- Tenants -</option>
<option value='properties.html' >2</option>
<option value='properties.html'>3</option>

</select>


and the target="_top" attribute is not supported by the option tag?

can anyone help?
__________________
"The music that really turns me on is either running toward God or away from God. Both recognize the pivot, that God is at the center of the jaunt."
::: Bono :::
Calisonder is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-17-2007, 09:42 PM   #7 (permalink)
Contributing Member
 
Brian M's Avatar
 
Join Date: 11-01-06
Location: Moberly MO
Posts: 458
iTrader: 0 / 0%
Latest Blog:
None

Brian M is just really niceBrian M is just really niceBrian M is just really niceBrian M is just really niceBrian M is just really niceBrian M is just really niceBrian M is just really niceBrian M is just really niceBrian M is just really niceBrian M is just really niceBrian M is just really nice
Send a message via Yahoo to Brian M
Here is a link to a thread that you may find useful. It has code to target an i-frame when a link is pressed.

Linking Buttons To an I-frame
__________________
Brian M's Site
Brian M is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-18-2007, 12:20 AM   #8 (permalink)
Inactive
 
Join Date: 05-06-07
Posts: 85
iTrader: 0 / 0%
Latest Blog:
None

alainkun is a jewel in the roughalainkun is a jewel in the roughalainkun is a jewel in the roughalainkun is a jewel in the roughalainkun is a jewel in the roughalainkun is a jewel in the roughalainkun is a jewel in the rough
Send a message via MSN to alainkun
You should some of this targets:
target="_self"
target="_blank"
target="_top"
etc
alainkun is offline  
Add Post to del.icio.us
Reply With Quote
Old 05-18-2007, 04:06 AM   #9 (permalink)
v7n Mentor
 
Costin Trifan's Avatar
 
Join Date: 04-13-07
Location: Romania
Posts: 2,952
iTrader: 0 / 0%
Costin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web proCostin Trifan is a highly respected web pro
Not quite, alainkun

Here is the answer:
Quote:
Here is a link to a thread that you may find useful. It has code to target an i-frame when a link is pressed.

Linking Buttons To an I-frame
__________________
JUNE - JavaScript Framework
Costin Trifan is offline  
Add Post to del.icio.us
Reply With Quote
Go Back   Webmaster Forum > Web Development > Web Design Lobby > Coding Forum

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
css with iframe? gump2773 Coding Forum 1 10-10-2006 11:17 AM
iFrame istanbul Web Design Lobby 3 05-29-2006 10:54 PM
iFrame Anyone tuzaj Web Design Lobby 0 05-28-2005 03:43 PM
iframe help younghistorians Coding Forum 5 11-12-2003 05:49 PM


Sponsor Links
Get exposure! Get exposure! Find Scripts Web Hosting Directory Get exposure! SEO Blog


All times are GMT -7. The time now is 01:22 AM.
© Copyright 2008 V7 Inc