Script not working in iFrame. |
Script not working in iFrame. |
P6tu |
Mar 18 2017, 08:22 AM
Post
#1
|
Group: Members Posts: 8 Joined: 18-March 17 Member No.: 26,348 |
Hello,
So I've figured out a lot on my own and by googleing, but now I'm at a point, where I can't even find an answer from Google. I've built this page from scratch over the years and I've been improving it step by step. This is the page I'm talking about: Classic Rent So I'm trying to move all my active information in the center column also to an iFrame. I haven't had any issues with iframes and scripts so far, but now I can't seem to be activating them all. Test page As you can see, then compared to the homepage, then the slideshow isn't working on the test page iFrame. Why is that? And maybe there are people here, who could say, is it possible to change two different iFrames with a single navigation? Currently when browsing my webpage, then the heading changes the title accordingly. When I move my information from the center column to an iFrame, then I do not know, how would I be able to change the heading also, when navigating to a new page (new iFrame) from the left menu. With best regards, P6tu |
pandy |
Mar 18 2017, 08:42 AM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
It seems all content is written by JS. How is this an improvement? Without JS one gets nothing. I'd say this is the wrong way to go.
I can't untangle all the scripts and jQuery, but my guess is the slide show script targets the main page, not the framed page. If that's the case, the easiest would be to put the slide show script in the framed page. Let JS write the script tag too. |
Lo-Fi Version | Time is now: 24th April 2024 - 12:45 AM |