Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Iframe Issue

Featured Replies

Guys and girls,

 

I really really need some help!

 

Why wont this iframe work in Internet Explorer?

 

alexentertainment DOT co DOT uk / test - ignore

 

Username: demo123

Password: demo123

 

When you login when viewing the site in Chrome, Firefox... etc... it intergrates perfectly

however in IE, it breaks somewhere and asks you to login again and again....

 

I've tried various forms of code:

 

<!DOCTYPE HTML>
<html>
<body>
<iframe sandbox="allow-forms" frameborder="0" width="100%" height="600px" src=":// www DOT alex entertainment.co .uk/ clientlogon DOT html"></iframe>
</body>
</html>

 

 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "://w w w DOT w3 . org/TR/xh tml 1  / DTD / x htm l1-tran siti onal.dtd">
<html xmlns=": //w ww.w3.o rg/1999/xh tml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body>
<iframe sandbox="allow-forms" frameborder="0" width="100%" height="600px" src=": / / ww w . alexente rtainm ent.co.uk/clien tlogo n DOT ht ml"></iframe>
</body>
</html>

 

I really really hope someone can help me out here as I'm going insane!!!!!

 

Please note I've removed some wording in the links to be able to post... but as coders you should understand what I've changed.

Just tried it in IE6 & IE7 (via IETester)...

 

Minus a few script errors, it worked fine & didn't make me login multiple times.

 

IE6 Script Errors:

Line: 256

Char: 42

Error: Expected ')'

Code: 0

URL: http://alexentertainment.co.uk/test-ignore'>http://alexentertainment.co.uk/test-ignore'>http://alexentertainment.co.uk/test-ignore'>http://alexentertainment.co.uk/test-ignore

 

Line: 430

Char: 42

Error: Expected ')'

Code: 0

URL: http://alexentertainment.co.uk/test-ignore

 

IE7 Script Errors:

Line: 182

Char: 42

Error: Expected ')'

Code: 0

URL: http://alexentertainment.co.uk/test-ignore

 

Line: 356

Char: 42

Error: Expected ')'

Code: 0

URL: http://alexentertainment.co.uk/test-ignore

Edited by jacksaidwhat

  • Author

Hmmm strange! Ok I'll do a screen recording of what happens when I do it.... and hopefully someone will be able to see what I mean :D

 

PS: Ie Tester popped up errors for me too, but when looking at the PHP scripting and the iframe's HTML it all seems good.. which is wierd! LOL

  • Author

Ok... I've just uploaded a screen recording of what happens for me:

 

================================================

alexs design . co .uk / logon / logon .html

================================================

 

You'll see what happens when I "logon" via Chrome... it works :D You see a menu bar and informations appear

When I log in via Internet Explorer 8... it just refreshes the logon screen!

 

Is this happening for ANY one else??

Try using Internet Explorer 7 Compatibility mode, see if you notice any improvements.

 

Just add the following meta:

 

<meta http-equiv="X-UA-Compatible" content="IE=7">

  • Author

FOUND THE PROBLEM!!!! It's to do with enabling session cookies! :D

 

Now to work out out to fix the issue!! lol

Edited by AlexsDesign

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.