Re: How I got the links to work for the iFrames: for each link, I used the code "target="page_display""! So, the full code was like this (with less spaces): < a href = " LINK" target = "page_display" > TEXT
5 likes
Delete
Are you sure you want to remove this comment from the news feed?
AHHHH, that explains it! I'd thought that the target went on the iframe, not the links themselves. That would explain why my attempt wasn't working. XD
Yep! Links from the layout to the iframe use target=, links from the iframe to another tab are target=_blank; and if you want to go to a specific iframe w/ the layout, you gotta do a weird JS workaround.
I'M GONNA DO IT. I'M GONNA UPDATE MY LAYOUT SO THAT EACH PAGE IS AN IFRAME INSTEAD OF A WHOLE NEW PAGE, LIKE A WEIRDO. I'M!! GONNA!!! DO IT!!!! (Hoping that saying this will make me do it)
9 likes
Delete
Are you sure you want to remove this comment from the news feed?
AHHHH, that explains it! I'd thought that the target went on the iframe, not the links themselves. That would explain why my attempt wasn't working. XD
Yep! Links from the layout to the iframe use target=, links from the iframe to another tab are target=_blank; and if you want to go to a specific iframe w/ the layout, you gotta do a weird JS workaround.
^! "target=_parent" will make it so that a link you click on inside of the iFrame will open outside of the frame, and into the whole site
Nah, I mean "open this specific iframe page, but with the layout outside the iframe". parent works good for just opening a new page, though.