Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 Use <object> instead of <iframe>, how to <a href> to <object>

views
     
onscreen
post Dec 15 2006, 01:19 PM

Nomby
****
Senior Member
675 posts

Joined: Jan 2003
From: PJ, Selangor


I got the problem now.. will update you soon. Pretty challenging thumbup.gif

This post has been edited by onscreen: Dec 15 2006, 01:31 PM
onscreen
post Dec 15 2006, 02:43 PM

Nomby
****
Senior Member
675 posts

Joined: Jan 2003
From: PJ, Selangor


Ha jay, dont laugh at what i have done. To me it works if you you use DIV tags for the links but.. oh well.. i am not ashame to share my findings :

CODE

<div id="mozillaonly"><a href="index.html" target="loadhere">Test Test</a>
<a href="pixel.html" target="loadhere">Test Test</a></div>
<1--[if IE]><div id="IEOnly"><a href="#" onclick="loadhere.location.href='index.html'">Test Test</a>
   <style type="text/css">
#mozillaonly {
    display: none;}
   </style>
<a href="#" onclick="loadhere.location.href='pixel.html'">Test Test</a></div>
<![endif]-->
<object name="loadhere" classid="clsid:25336920-03F9-11CF-8FD0-00AA00686F13" data="pixels/zeeko.html" type="text/html" style="width:600px;height:500px;">
   <p>Fallback text</p>
</object>


just replace the .html to your ones. Have fun.. tongue.gif

QUOTE
<1--[if IE]><div id...

Replace the 1 to ! due to posting restriction.

I am going for further readings about this technique and hopefully it might come out a proper IE linking workaround.

This post has been edited by onscreen: Dec 15 2006, 02:56 PM
onscreen
post Dec 23 2006, 03:01 AM

Nomby
****
Senior Member
675 posts

Joined: Jan 2003
From: PJ, Selangor


Ahh glad it works for you biggrin.gif

anyway..late reply here.. my laptop and my computer graphics card died at the same time.. thats why tongue.gif

 

Change to:
| Lo-Fi Version
0.0148sec    0.29    6 queries    GZIP Disabled
Time is now: 6th December 2025 - 10:54 AM