I've got 'content' defined, how do i pass it with a window? ( 4 Views )

no kitty!
  1. This is the script I want edited
    Code:

    if (top.location == self.location) {        //if page is called out of its frameset
              top.location.href = "index2.htm" + "?" + window.location.href;
            }

    My "content" is defined and is dynamically contained within an iframe in a javascript in a js file. It has a default "content" page.

    "content" is the body of my website.

    I want to pass my "content" to index2.htm along with window.location.href

    Please modify this tag. Thanks

    (Ahmet, Guinea-Bissau)


  2. (abdulah, Mayotte)

  3. it's a sad thing the number of questons ive asked here and didnt get any help with..

    (merve burcu, Uruguay)

  4. Hi,

    1) your first post is somewhat confusing -- you want to append somefile.js to an iframe within index2.html?


    2) why don't you simply include the *.js file (<script language=...src="somename.js"> in index2.html so that you don't need to change the redirection script?

    3) are both files within the same domain? if not, you will probably need to get signatures/permission

    To paraphrase:
    'tis a sad thing the number of questons i've answered here and didnt get paid for..

    Vinny

    (ali, Nauru)

  5. I think you can use this with your original script, which must go in index2.htm;
    Code:

    framePage=top.location.href.split("?" )[1];
    document.myFrame.href=""framePage


    (SEYMA, Fiji)

  6. ok, I've got a frameset and in the mainframe ive got an iframe.

    My pages all sit in the iframe and have an iframe stuffer script to keep them from becoming orphans.

    That looks kinda like it will work.. wanna explain it a bit more:
    framePage=top.location.href.split("?" )[1];document.myFrame.href=""framePage

    (tolga, Antarctica)



Related Topics ... (or search in 1.720.883 topics !)

how to pass parameter from a child window back to the main window?? (6)
pass value from popup window to parent window w/multiple forms? (2)
rotating images with seperate new window w/ defined size (2)
how can i pass variable from called window to caller window? (3)
how can i pass variable from called window to caller window? (3)
pass values for a popup window to parent window (2)
pass value from main window to popup window (2)
pass value from main window to popup window (3)
javascript: child window changing content of parent window (5)




copyright © 2007-2031 Pfodere.COM ( 6 Pfoyihuee Online )

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 
1.4818