473,383 Members | 1,834 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

IE7 Issue Displaying Frame Information

1
I am having an issue with things being displayed correctly in IE7. Specifically, I have three lines of code that do not work in IE7 but work perfectly in IE6. I have looked all over but can't find any explanation of changes that would cause this problem.

In the header:

<script type="text/javascript" language="JavaScript">document.write('<link rel = "stylesheet" type = "text/css" href = "'+top.globalVar+'"/>');</script>

In the body:

<script type="text/javascript" language="JavaScript">document.write('<img src = "'+top.logo1+'"/>');</script>

<script type="text/javascript" language="JavaScript">document.write('<img src = "'+top.logo2+'"/>');</script>

These lines of code allow me to customize my pages based on client (i.e., display different style sheet and logo) and are used multiple times throughout my site. The pages are part of a RoboHelp WebHelp file.

Is there any simple solution or explanation to explain why this would work in IE6 but not IE7?

Thanks!
Jun 27 '07 #1
1 1116
acoder
16,027 Expert Mod 8TB
Welcome to TSDN!

What are globalVar, logo1 and logo2? Can you give the source for the top frame?

Just a note: there's no need to use language="JavaScript" anymore. It's deprecated.
Jun 28 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Frame | last post by:
I'm looking for tutorials or articles considering HTML Frames and how to handle them with Javascript. E.g. samples how Frames can exchange information, can a Frame instruct other Frame to update...
4
by: anonymous | last post by:
Thanks your reply. The article I read is from www.hakin9.org/en/attachments/stackoverflow_en.pdf. And you're right. I don't know it very clearly. And that's why I want to understand it; for it's...
2
by: K.C. Brown | last post by:
I'm trying to finish up an app that uses a left and right frame extensively. The left frame contains a dynamically built menu and the right is used as the target for links selected from the left....
3
by: qwerty | last post by:
I´m new to ASP.Net. My workmate has some experience with it. He claimed that in ASP.Net working with frames is much simpler than it was ASP. I asked explanation but he couldn't give me such. (a...
2
by: Leon | last post by:
Hello all, I have come across an issue with the fix KB886903 - http://www.microsoft.com/technet/security/Bulletin/MS05-004.mspx which is to do with the ASP.Net path validation vulnerability....
0
by: Charles Krug | last post by:
List, I'd like to do the following with Tkinter's Frame() object: 1. Display a collection of pack()-able objects. Easy. Done. I hold the objects in a dictionary, mostly so that the owning...
1
by: suresh_nsnguys | last post by:
hi, i am displaying "http://www.yahoo.com" website inside the frame of the frameset.when i click some menu links in yahoo website say "Autos" my frame is getting broken.how can i control this...
1
by: javatech007 | last post by:
Here is my code for displaying an image but doesnt work. It runs but displays nothing! import javax.swing.*; import java.awt.*; public class Frame extends JFrame { private JLabel...
2
by: Oriane | last post by:
With IIS7 on Vista SP1, the problem does not occur. When I told you yesterday that the problem occurs on Windows XP/Vista, I talked about the client environment.
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.