www.webdeveloper.com
Results 1 to 7 of 7

Thread: my frame designed website URL does not show opened page title

  1. #1
    Join Date
    Apr 2012
    Posts
    7

    Exclamation my frame designed website URL does not show opened page title

    thank for the help on the previous thread i posted,your help worked.

    i am currently developing a website using frames,i have targeted all the links to display on the center frame,so the URL does not change to the title of other pages when their links are visited,the path only ends to the main website page which i have named "default".am not sure if i am clear,but that the best way i can explain myself.please help me!!!

  2. #2
    Join Date
    Apr 2012
    Posts
    15
    Could you add your code to see it please?

  3. #3
    Join Date
    Apr 2012
    Posts
    7

    Here is the code

    <html>
    <head><title>default</title>
    </head>

    <background="wild.jpg">
    <frameset id="myframeset" frameborder=no framespacing=0 rows="20%,*,5%">
    <frame name="topframe" src="top.php" noresize scrolling="no">

    <frameset id="yourframeset" frameborder=no framespacing=0 border=0 cols="21%,*,22%" background="sk.jpg">
    <frame name="leftframe" src="left.php" noresize scrolling="no">
    <frame name="centerframe" src="center.php" scrolling="auto" noresize>
    <frame name="rightframe" src="right.php" noresize scrolling="no">
    </frameset>
    <frame name="bottomframe" src="bottom.php" noresize scrolling="no">
    </frameset>
    </

  4. #4
    Join Date
    Apr 2012
    Posts
    7

    frames

    i have posted the code!!!!

  5. #5
    Join Date
    Aug 2010
    Location
    San Diego
    Posts
    242
    If I understand you correctly, this is simply the way frames work: changing the URL of any frame doesn't reflect in the URL bar or page title. The actual page, according to the browser is still original page containing the frameset.

    It's these kinds of issues that caused frames to fall out of favor and be obsoleted in html5.

  6. #6
    Join Date
    Nov 2007
    Posts
    425
    Is your question/issue that you want the window title to change when a user clicks a link?
    If so, add some javascript to each "centerframe page" such as:

    Code:
    window.parent.document.title = "Your new title";

  7. #7
    Join Date
    Apr 2012
    Posts
    7

    frames not changing URL

    thanks everybody for the support and suggestions,
    @nap0leon, where should i place this code you gave me?
    am very thankful in advance,hey

Thread Information

Users Browsing this Thread

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

Posting Permissions

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



Recent Articles