An URL that links 2 pages...

free web hosting
Open Discussion > Have your say > General Talk

An URL that links 2 pages...

cloud03
Hi!

I'm doing my website and I have a little problem, I use 2 Frames on my website one for the menu and another one for content of the site and all that stuff... What i want is... maybe simple:

When u enter my website u have a menu on right

Link 1
Link 2
Link 3

Now what I want is when u click on Link one, it will show the new page in the Menu iframe and it will show too, a new page in the Content iframe...

It's simple no? I want that Link1 shows 2 page in same time, one in Menu iframe and another one in content iframe...

:roll:

Reply

God
In HTML, no.
Using javascript, it may be possible. I'll get back to you on that in a day or two. biggrin.gif

Reply

lufer
Hi cloud03,
I could solve your problem using javascript like god said. You just need to put a little javascript inside you targeted page. For example, if you have a link to a main.htm page in your menu and you like that the main page calls a menu_main.htm in your menu. You need to use the following code inside the main page:
CODE


<html>

<head><title>Main page</title></head>

<body>

<script language="JavaScript">

window.open("menu_main.htm",'leftFrame');

</script>

Main content ...

</body>

</html>


This little script just open you menu_main.htm in the leftFrame.
I hope you can solve your problem now.
See you around.

Reply

cloud03
Ok! I'm gonna try it right now! Hope it will work

Edit: Nope it didn't work...

First I tried ur code and it opened a popup at the page load.. after I tried to change the code for this

<script language="JavaScript" type="text/JavaScript">
<!-- Begin
function popUp2(URL) {
day = new Date();
id = day.getTime();
window.open("ff8_menu.html",'iframe2', "ff8_intro.html",'iframe');
// End -->
</script>

id didn't work... (my pages are... ff8 menu and ff8 intro... the menu goes in frame2 and the intro in frame...)
:cry:

Reply

God
Yeah, that's not the correct JS code for it. Here:

CODE
<script type="text/javascript">function gotopages(url1,url2){parent.iframe2.location.href=url1;parent.iframe.location.href=url2;}</script>


Put that into your head section. Then put this for your links:
CODE
<a href="javascript:gotopages('page1.html','page2.html');">


Change page1.html to the page you want to load in the iframe2 frame, and page2.html to the page you want to load in the iframe frame.

Reply

cloud03
Ok! I'm gonna try this code see if it works...

Wooohoooo it worked biggrin.gif

Thanks for your help guys biggrin.gif

Reply

lufer
The code that didn't work was not considering IFRAME. I'm sorry, I just missed the IFRAME part. But, I tried with simple frames and that worked.
I'm happy that you solved your problem.

See you around

Reply

God
Using window.open will open an entirely new window. That's not what (s)he wanted.

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Similar Topics

Keywords : url links pages

  1. Get Paid To Post On Forums? - Links, Resources for Pay for Writing, Earn from Forums (17)
    Get Paid to Post on Forums I have seen these all over, could people maybe give me a
    short list on where I could post on forums and get paid? I am a freelance writer, and I know this
    is one option. I tried searching it, but word of mouth always works best. Thanks in advance!
    Note: Please move if needed, I wasn't sure if I should do it in the Make Money forum, or not.
    At Trap17.com - This very site, You get paid in terms of CREDITS. These credits are used to keep up
    your Web Hosting account (which we give for FREE). The Web Hosting is of top ...
  2. Favorite Website - NO LINKS OR SPAM please (3)
  3. Link Swap With Me Please? - Swap links with my PR4 and PR0 websites. (2)
    Hi, I run these websites and I'd really like to swap links with webmasters:-
    http://www.privatedetectiveagency.net - PR0 - Published only 3 days ago. Already indexed in msn and
    google blog search. Will swap links with any websites. http://www.tracepeople.co.uk - PR4 - Very
    well indexed and liked by all search engines. Looking for PR2+ websites for linkswap.
    http://www.ukpeoplesearch.co.uk - PR4 - Very well indexed and liked by msn and yahoo. Looking for
    PR2+ websites for linkswap. Just PM me to link swap or contact me through the email form on these
    websit...
  4. How Do You Make A Thingy Like Marquee - How To Do Whats On Top of TRAP17 Forums Pages (5)
    How Do You Do This: Its Like a Marque, But Acts Like a GIF, The One On the Top of TRAP17 Forum
    Pages. I Really like to know how to do this....
  5. Referral Links - (0)
    Are referral links permitted in these forums?...
  6. Need some links to sites hosted by FNH Paid - (11)
    Please link me some sites hosted by teh paid FNH acounts. I'm seroiusly considering buying one,
    but I'd like to check out their speed/etc. Thanks a freakin' bunch! /biggrin.gif' border='0'
    style='vertical-align:middle' alt='biggrin.gif' /> ...
  7. A lot of links :) - (3)
    Ok, new designing project, a friend started it, I joined it and changed a lot (except for the main
    page) main page: www.cf-designs.eu.tt forums: www.forums.cf-designs.eu.tt templates demos:
    www.cf-design.eu.tt...
  8. check this 2 links - (6)
    Have you even try this 2 before? http://smallbusiness.yahoo.com/merchant/
    http://www.freemerchant.com/ which one is better?...
  9. REQUEST the links to RARE Books here! - (3)
    Please I need a Book Titled: "Why Do Buses Come In Threes--The Hidden Mathematics Of Everyday
    Life" I don't know the name of the author but the book seems to focus on the reliability of
    HOROSCOPE. I will appreciate definite information on how to get either the hard or soft copy.
    passjoe...
  10. links - (2)
    if U want to d/l some mixes and enjoy the music here is some useful links for U:
    www.infamouslightrecordings.com www.undergroundhousemusic.com www.homegrown-music.com...
  11. Just figured I'd share some cool links - (7)
    Feel free to contribute your own in a reply Date and Time in PHP
    http://www.wdvl.com/Authoring/Languages/PHP/Date_Time/ QuoteMaster
    http://www.phpbuilder.com/snippet/detail.p...=snippet&id=177 Capitalize first word of every
    sentence http://www.phpbuilder.com/snippet/detail.p...snippet&id=1037 Quick Sort Function
    http://www.phpbuilder.com/snippet/detail.p...e=snippet&id=10 Add commas to #'s
    http://www.phpbuilder.com/snippet/detail.p...=snippet&id=542 MyPHP Google PageRank
    http://www.tapouillo.com/firefox_extension.../sourcecode.txt D...
  12. some good tut links - (1)
    http://www.tutorialman.com/ http://www.absolutecross.com/ ...
  13. A Few Useful Links - (2)
    Open Source Web Design - Home /^/ http://www.oswd.org/ QUOTE ..is a community of designers
    and site owners sharing free web design templates as well as web design information. Helping to make
    the internet a prettier place! 17 designs posted this week, 1019 designs total! CSS Play
    « Sea Mus N Squirrel http://www.moronicbajebus.com/playground/cssplay/ QUOTE CSS Play is a
    collection of webpages that I have made that use Cascading Style Sheets to achieve some affect.
    Please be warned that not all pages work completely and some are just concepts....
  14. An archive a-z links bar with PHP - (0)
    CODE <div class="contentBlock" id="aZbar"><span
    class="title">Archive:</span> <a class="compact"
    href="/archive/letter.php?letter=9">#</a> <?php for ($i = a;;
    $i++) { //this says that our variable is a and each time through the loop, it becomes the
    next letter in the alphabet   ?>  <a class="singleLetter"  
     href="<!--insert archive link here -->.php?letter=<?php echo $i
    ?>"><?php echo $i ?></a>...
  15. Crazy Newspaper - Finally finished the 9 pages - (6)
    I finally finished my Crazy Newspaper Edition 1 . It took me a long time to make the 9 pages and I
    hope that you like it....
  16. Ways To Buy Links Or Exchange Links - (0)
    you can buy links or exchange links to get more traffic...
  17. Buy Links Or Exchange Links For Visitors - (0)
    Other than Search Engine Results Position (SERP), relevant text links (either exchange or buy text
    link) are more valuable for visitors. Keeping in mind, we build website for visitor, not for search
    engines, search engines only help us to attract more visitors....
  18. Buy Links Or Exchange Links - (0)
    Main search engines like Google, Yahoo and MSN provide clear indication that inbound links get
    special consideration in search algorithm. That is why off Page Search Engine Optimization (SEO)
    with text links (either exchange or buy text link) has been probably the most important factor for
    SEO. PageRank (PR) is an algorithm for assigning numerical weightings to web pages by Google.
    Google considers PR arranging websites in their search results. To increase your PageRank, you
    should get as many external links as possible pointing to your pages. The links from page with ...
  19. html pages in php-nuke - (2)
    is there any way to add html pages in a php-nuke site if its possible then plzz tellme how :?: i
    m waiting for reply...
  20. The big list of links - (9)
    Welcome to my links page. Everything here is free, except for (of course) the storefronts. The games
    that I've played recieve a 1-100% rating. The stores get their resellerratings.com six month rating
    (1-10) as of October 20th, 2004. And if there is anything an admin doesn't want on the list,
    please edit it out =/ MMORPG Free MMORPG List - http://tinyurl.com/6fzhk MUD
    (MultiUserDungeon) List - http://www.topmudsites.com/ Mu Online - http://www.muonline.com/
    (70%) Tibia - http://www.tibia.org (50%) Runescape - http://www.runescape.com Shilla - h...
  21. No links! - (6)
    Please do not post links to tutorials /tongue.gif' border='0' style='vertical-align:middle'
    alt='tongue.gif' /> What I meant with this forum is: write your own tutorials and post them here
    /smile.gif' border='0' style='vertical-align:middle' alt='smile.gif' /> ...
  22. Links in the header menu - (2)
    I've installed the Phpnuke 7.6.0 Platinum... I can say that it's very cool! But I have one
    small question: how can I change links in the header horizontal menu? Now I have there: CODE
    Home; Downloads; Forums; Supporters; Account And I want to have links to other modules! Where
    can I do that?...
  23. ClickHereFree Review Links Screwed - (1)
    This is about the fifth time I got a notification that my review was accepted with a link that
    doesn't work :evil: :evil: :evil: :evil: QUOTE First I wanted to thank you for taking the
    time to submit a rating and review to the ClickHereFree.com Free Web Hosting Directory. I read it
    and decided to approve it for live viewing on the Website. Below is a link so you can see it again:
    http://www.clickherefree.com/hosting-free/...ils.php?id=1605 Again, thank you for your
    feedback! Regards, John Alexander http://www.clickherefree.com :x edit yu...
  24. Using JS to Display Pages - (1)
    Hi! Does anyone know where i couldfind some resources on using Javascript to request and display
    content which wasn't present at the loading of the page? Which means in simpler terms does anyone
    know where I can find something that tells me how to load HTML pages through JS? Thanks....
  25. Pagination - making data from mysql list on multiple pages - (2)
    when your displaying multiple rows from a database, its a good idea to page them, i.e. so that you
    dont have a huge list of 100 rows from mysql on one page - rather, 10 on 10 pages, or 5 on 20
    pages. This script allows you to create a flexible version of this. It can be shown in action
    here: http://www.jesus-freaks.co.uk/?page=news an example of the way it works:
    http://www.jesus-freaks.co.uk/?page=news&p...t=10&order=desc this shows page one, with 10 on each
    page, in descending order. http://www.jesus-freaks.co.uk/?page=news&p...mit=5&order=asc th...
  26. broken links in forum - (0)
    most of the links under "free hosting support" does not work or i have some problems with my
    computer which?...
  27. How Do U Edit Your Web Pages - (3)
    I just signed up for package one and now i dont know what to do to edit the home page. /ohmy.gif"
    style="vertical-align:middle" emoid=":o" border="0" alt="ohmy.gif" />...



Looking for url, links, 2, pages

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for url, links, 2, pages

*MORE FROM TRAP17.COM*
advertisement



An URL that links 2 pages...



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE