here's the situation: I set up a Ubuntu User's Guide as a iframe page in a node (wrapped is what I'm saying). It worked great and I was happy. But I just realized that they had an upgraded version of that guide (in wiki format) so I pasted that link in my iframe reference.
Unfortunately, now whenever someone clicks on the "Ubuntu User's Guide" link on the main menus at my site the wiki page suddenly expands and eliminates the wrap...effectively taking that user away from my website.
Check out what I'm talking about here:
1. Visit my site at http://www.ubuntuwebservers.com
2. click on the "Ubuntu User's Guide"
3. Poof! You're no longer at my ubuntuwebservers.com website (even though the Ubuntu User's Guide should have just shown up in a iframe)
Any answers as to how:
1. I can recover the original node (for editing, etc. As of now I don't seem to have any access to it)
2. I can override that process so that the page stays in the iframe
Thanks,
Vince
Comments
Crap. I just realized that
Crap. I just realized that you guys can't look at the document because I had it set for only registered users to see it. And I can't change those permissions because I no longer have access to editing the node because of this problem!
lol, hmm, what do I do now? Can I just delete the node and start over?
very annoying
---------
The hottest Linux distribution? Ubuntu
Talk about Ubuntu Web Servers at:
http://www.ubuntuwebservers.com
try going to
node/58/edit ?
also , my personal opinion is that iframes suck, so I have no idea how you can make that work.
--
The future is so Bryght, I have to wear shades.
iframes have been working okay for me so far
I actually had it working fine, just now with this wiki page it's gotten all screwed up. I don't know what kind of commands or coding or what they put in that page, but it just kind of took over.
I tried the node/58/edit but it did the same thing. It let me see the edit page for about 1 second first, though, just to psych me out.
UPDATE: I finally got access to it by clicking my browser's "stop" button quickly before the page completely loaded. I updated it by leaving it blank and clicking save, which effectively deleted the entire html code that I had in the page, but better that then having the thing take over my site. So, I'll just start from scratch on this page.
Thanks for the help
BTW, adrian, how would you suggest that I wrap a page like this if not iframes? I'm not much of a coder so it has to be something dummies can do.
---------
The hottest Linux distribution? Ubuntu
Talk about Ubuntu Web Servers at:
http://www.ubuntuwebservers.com
JavaScript Frame Buster
They probably used some frame-busting JavaScript, like
if (window != window.top) { top.location.href=location.href }. As far as I know, there isn't a way to circumvent this, and to be honest, I'm quite happy about that, cuz there's nothing more irritating than seeing your site's layout get completely trashed in some inconsiderate a-hole's tiny 400x400 iframe... (just speaking in general, so don't take this personal ;))You could have easily recovered that node's content by accessing the node directly in the dbase, for example with phpMyAdmin or Drupal's Database Administration module, but that's probably not an option anymore? Maybe you have an older backup of your dbase where the node is still intact?