kvarnerexpress
Feb 22 2006, 03:42 PM
I have a Java Menu and on the data part of it which would be al the text and links i have td_1 = "Home " url_1 = "home.html " td_2 = "Biography " url_2= "bio.html" td_3 = "Gallery " td_4 = "W W W " td_5 = "Guestbook " url_5 = "" td_6 = "More... " and alot more of course! but how do i get them to open up in the Iframe do i put them like this? td_1 = "Home " url_1 = "home.html " target="mainFrame" td_2 = "Biography " url_2= "bio.html" target="main" td_3 = "Gallery " td_4 = "W W W " td_5 = "Guestbook " url_5 = "" td_6 = "More... " I put url_1 = "home.html " target="mainFrame" but nothing,i need to open in mainFrame,I need code.... And so forth? I would realy apreciate some help here anyone got any ideas if this is correct or if theres a better way of doing it?
Reply
smartbei
Feb 24 2006, 10:58 AM
Firstly, I would do it using an array, as it is much neater and easier to access: CODE var titles = new Array("Home", "Biography", "Gallery"); var urles = new Array("home.html", "bio.html", "gallery.html"); Next, to send pages to the iframe you would write: CODE function open_content (which) { iframename.location = urles[which]; }
Or something like that.
Reply
kvarnerexpress
Feb 24 2006, 11:01 PM
smartbei
Feb 25 2006, 03:56 PM
QUOTE(kvarnerexpress @ Feb 25 2006, 01:01 AM)  thanks!
No Problem :-)
Reply
Similar Topics
Keywords : linking, iframes
- Php Linking
Ned help to do this through a internal portal page. (2)
Vb 2008 Linking To Another Form..
(0) if i want to link another form will i use this code or there is easier one? code : form2.show or
hide : form2.hide is there another code to be used...? thanks....
Html In Os X- Linking To An Alias
(0) Is anyone able to tell me how to hyperlink in a HTML web page to a folder in OS X tiger and have it
open in finder (not the web browser)? Or how to link to a local file on os x (outside of the web
server's folder), I am not sure how to put it, is it just as simple as a
href="/Users/saitunes/documents/doc1.doc" I am running the built in web server and all the folders
I want to access would be located in the web server's directory E.G
http://localhost/~user/folder or /Users/User/Sites/folder I don't know how to get directories
opening on finder, nor do ....
How Do I Remove The Iframes Scrollbars?
(5) Hello. My Iframes are not working properly at the moment. I have some problems with removing the
scrollbars. I also need them to automatically extend, without that I need to change the height and
width. I have tried with 100% and auto , but there must be something I am doing wrong. (I do not
know much HTML, really.) I will explain a bit more. On my front page, I have an Iframe linked to my
blog, and other things. And as I have said, I need to remove the scrollbars and so on... Here is
the code I am using. (Of course "URL1" is replaced with my url.) CODE <ifr....
Will This Code Work
php linking script ?p= (5) hi i'm not that great at php so i'm not to sure if this will work or not. but what i want to
do is be able to use ?p=staff or what ever page name, with out the php extion, and i would like to
no if this simple script i made would work. the code is: CODE <?php $p =
$_GET['p']; if ( !empty($p) &&
file_exists('./' . $p . '.php') && stristr( $p, '.'
) == False ) { // pages = directory where you store your pages $file = './'
. $p . '....
Php And Iframes
(15) Hello! I am wondering whether or not it is possible to have a dynamic iframe that changes when a
link is pressed. I believe I know a way for this to be done with the php $_GET variable and
only using a certain part of the url. I am wondering if this would maybe work. I want this for a
chatbox that will have a little side menu for BBCode reference and a notepad. CODE <?php
if($_GET['toolbar'] == 'bbcode') { //display my bbcode
reference page here } if($_GET['toolbar'] == 'notepad') ....
Php Linking
One of the major advantages of PHP is the ability to create something (4) PHP Links Requirements 1. You should understand the majority of PHP (ex: variables, echo, etc.
www.w3schools.com is a good reference). 2. Experienced with HTML. 3. You need a PHP compatible
server if you wish to see your results. Description One of the major advantages of PHP is the
ability to create something similar to an Iframe, only without the scroll-bar. The main advantage of
this is that you only need one layout page, while the others can be simple 'white space &
content' pages. Another advantage of this is your web site doesn't look like a fi....
Question About Linking
When is enough enough? (3) I do have quite a few links on my site now, but nearly every day I get requests to exchange links
with other sites. I know links are important for search engine placement and all that stuff, but
I'm wondering about maybe when is it too much of a good thing? I also feel funny about
placing links to site that I know nothing about, are they honest people with good products? I
don't want to send my customers to con artists or other unsavory charectors. Most of the links
I have now are for people I actually know. Where do you draw the line?....
Prevent People From Linking To Your Downloads
(5) Ever find that found some people are listing items, images and tuts and linking directly to the
download url (those that are like image.php?id=0). To prevent this, you can add a piece of code to
the download pages that checks which page referred them to the download page: if it's your
domain, it downloads the file normally, if it's not, it will redirect to your home page instead.
Important: Not all browsers log referrers, so this won't work depending on the browser the
visitor uses and this method can be also bypassed, but it will work for for the major part....
Simple Php Calendar And Yahoo! Calendar Connection
linking each date to Yahoo! calendar (7) Original simple PHP calendar source here I was looking for a simple PHP generated calendar. But I
wanted to place detailed information to show on demand. And installing another database with
separate management would have been too much of access codes and passwords to remember. And what if
I want someone else to manage the calendar when I am not able? This is my version of using simple
PHP calendar script to link to Yahoo! calendar. The twist is that figuring out how Yahoo!
calendar selection worked. And then depending on which date was clicked it will bring ....
Iframes Coder Needed
(4) Dear all, If you know HTML, then you will know how to use iFrames. I need three sets of Frames for
my layout. Please make the content area have a scrollbar. Thank you! I have no reward, but
if you give me your nickname/full name and I will give credit to you on the site. I have a domain,
I'm not a tker /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif"
/> Btw, I know it's basic but I don't care.....
Title Tags For Linking Text?
(3) what are title tagas for llinkign text? how are they used? just for SEO? I know they're kinda
like alt tags, but does the SE's like or loath them? Thanks, Andy....
Check Referrer To Prevent Linking Yours From Other Sites
Check referrer with Php and Mysql (8) Check Referrer Using Php To Prevent People Linking To Your Downloads From Other Sites Ever
find that found some people are listing items, images and tuts and linking directly to the download
url (those that are like my photoshop tutorial.php?id=0), which is a .php to count the number of
downloads. To prevent this, you can add a piece of code to the download pages that checks which page
referred them to the download page: if it's my domain, it downloads the file normally, if
it's not, it will redirect to my home page instead. Important : Not all browser....
Tips For Linking
it should help a bit (5) QUOTE Well actually, linking isn't fun at all. In fact, it's quite tedious. Seeking,
responding to requests and adding links takes time and effort. But, if you're not actively
building links the RIGHT way you are going to be left behind. In other words, your site will be
"Lost in Cyberspace". The plain fact is Google, and to a lesser extent, other important search
engines, reward sites with links from relevant and important pages. If you want your site to
deliver lots of targeted search engine traffic (and who doesn't?) there are two equally importa....
Use External Linking To Increase Traffic
Sounds crazy, but might work. (4) See what you would do, is take and host your files on multiple sites, using external linking. So
you take and maybe have a templates area on Trap17, and then your homepage on computing host,
regular pages on freewebs, or lycos, whatever, and then you submit them to different search engines.
I mean submit all your pages hosted with each search engine. Then you are bringing in traffic to
different areas of your site. There are several pros and cons to this: Pros: You get an amazing
amount of response to your site, because you have every area of your site listed in all ....
Iframes
a small question about it (5) I have a game site with links to sites so people can vote for it. When the click on the link i want
it to update the database and open the page at the same time. Im using a ghost page at the moment
but my friend suggested a ghost page so people cant cheat and refresh it multipple times. I was
wondering how to make a iframe and still have it update the daytabse and open the page in a new
window without a ghost page.....
A Question About Iframes
Just a quick one,..hopefully. (7) So I have this sidebar right? It is a basic sidebar for a lot of pages, and I need to be able to
change one file for the whole thing. My solution? Iframes. The problem? I need it to be the same
as my background on the sidebar. I can do that on my main file. That isn't my problem. can
someone please give me the attribute for making no border? So it looks like part of the page. For
instance. Look at the shout box. In the input field, there is a border around it. If you turned
the input field to green, it would still show that border around it. I don't....
Fossil Linking Land To Sea
...and how some people still don't see the light, as it were (2) Recently, a fossil was unearthered that bridged the gap between land animals and fish. It had
devloped 'flippers' and opposable digits and was believed to be able to survive both in and
out of the water. (I'd link ot the actual article but I'm lazy). Yet creationalists are
still holding to "god created man" and to them (and I quote from a creationalist trying to explain
this finding to me) "that means that god created man. not an ape to ;evolve' into man.
that's just silly. these fossils are just first attempts by god to create the perfect c....
Linking
This may be a bit of a n00b question... (1) Ok, well I'm just getting my site up. I havn't added any pages or anything, I wanted to get
my rosters onto thier already, before I clear out my HostUltra account. So I'm typing the link
as "http://mysitehere.trap17.com/home/darealch/rosterfiles/maddennfl06/file-name here" Which is
correct, everything is right on my part. Do I use /home/darealch? Someone please help me!....
Linking To Mp3's
(7) There are many sites which offers free downloads of mp3 songs....Can i give a direct link to those
mp3's ? i wont upload them on my site but just give link to them...for example i can write on my
site "Download Song" and give link to that mp3 file , please give me advice since i dont want to do
anything which is not allowed.....
Linking To Mysql From Vb
(6) Hi I have used vb to link to an access 2003 database using the adodc component- (connection string
etc etc). Right I am now working with mysql (which I would like to say I am loving it) and I have
migrated the access 2003 db's into mysql using the migration toolkit . How can I link to mysql
db in a similar fashion. Please reply. Thanx. kvarnerexpress....
How To Stop Image Hot Linking
for a selected directory. (17) Those of you that don't know what is meant by 'hotlinking', it is when someone directly
links to an image on your site so it will display on their site. This is what is called
'bandwidth theft' and being as accounts here have a limit on bandwidth, your bandwidth limit
could be exceeded by someone else hotlinking to your images. As most users of cPanel will know,
there is an option to disable hotlinking of images in the "Site Management Tools" section.
However, this disables hotlinking to all directories, what if you only want to disable hotlinki....
A Couple Of Phpbb Questions
adding code, css files, linking (5) Sorry about the vague title, but I couldn't possibly fit what I needed in such a small line.
Anyway, I would really appreciate it if anyone can answer any of these questions that I have about
PHPBB. First, I want to know how I can change the logo of the PHPBB. When you first install PHPBB,
it gives you their logo. You know, the one on the top-left. How do I change it to something that I
want? Second, how do I make it so that when you click on the logo, you go to a different location
instead of the forum root? Third, is it possible to add addition code to the forum....
A Question About Html Iframes
Need help in <iframe> (7) We have an upcoming project in our class...I've a cool idea of lay out but i hav a problem.
I'm using a lot of images. I need to embed my contents in those images (texts and graphics)
using table cells... My friend told that there is a so called tag to solve it but he doesn't
know how.... Can you please send me some hot info about parameter and hows' of iframes? Samples
would be great. Tnx... Use a more descriptive title next time. ....
Does Trap17 Have A Button?
For Linking To Trap17.com From My Site (7) Does Trap17 have a linking button? I want to put it on my site, at the bottom of each page, like
this: Hosted By * Trap17 Link Button Here* If they don't already have a button, can we make
one? I'm willing to make a simple 88x31 button and then post it so everyone can use it.
/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> ....
Linking CSS to HTML
(2) CODE <LINK REL="StyleSheet" HREF="basic.css" TYPE="text/css"
TITLE="Preferred Style" MEDIA="screen, projection"> <LINK
REL="Alternate StyleSheet" HREF="altstyle.css" TYPE="text/css"
TITLE="Alternate Style" MEDIA="screen">
Linking to an External Style
Sheet
---
LINK tag
The link tag is used between the HEAD tags. It is the most common way
to link CSS to HTML.
REL Attribute
The REL attribute defines the differences between a
persistent or prefe....
Javascripts and Iframes withing php nuke ????
(1) when ever i try and put in some java into blocks or storys it says my html tags are not accepted ...
is there anyway i can change this too be accepted also can i install iframes or anothe photo gallery
thing.....
Javascript loading iframes
(1) Im getting this message
CODE Line: 14 Char: 3 Error:
'document.getElementByID(...)' is null or not an object Code: 0 URL:
http://www.stoneddevilinc.com?i=full_site_part_1.html
when i try to run this code
CODE <script type='text/javascript'> function setIframe() { var url =
window.location.href; var i = url.indexOf("?i="); if( i>-1 ) {
url = url.substr(i+3); document.getElementById("content").src = url;
} } ....
Linking A Url To A Button
How to Link a URL using getURL() (4) Linking a URL to a Button in Flash This seems to be a problem for beginners to Flash, and I
thought I'd address it. When building a Flash-navigated site, you need to link one page to
another through the flash interface, just like you would a my link in HTML/XHTML. Once
you've created your button on the page, you can link the button very simply. Right-click it, and
select "Actions" from the menu. This will open the ActionScript editor, in which you can right
ActionScript code. Don't worry. It's not detailed to put this link in. Make sure you are i....
Iframes (and Other Annoyances)
Grrrrrr! (7) I'm using Dreamweaver MX 2004 with a combination of design and coding, right? Should be simple
to make a rather simplistic but cool-looking web site. Easy, right? Well, when it comes to iframes,
it's not. I don't know exactly how I did it in the first place, but I used the iframe tag
set (using DW's nice little "insert tag here" feature) and now I'm rather lost on how to get
it to work right. Anyway, I'm blathering here, so I'll get to the point. Go to my webpage
and take a look. You'll notice that the news.html file properly displays wi....
Looking for linking, iframes
|
*RANDOM STUFF*
*SIMILAR VIDEOS*
Searching Video's for linking, iframes
*MORE FROM TRAP17.COM*
|
advertisement
|
|