/    Sign up×
Community /Pin to ProfileBookmark

Help on JS with IE

Hi,

i’ve included the Crafty Syntax Dialogue JS into my menu.txt which is included in all pages of my site with this line: [I][/I]<script language=”JavaScript” src=”menu.txt” type=”text/javascript”></script>

In the menu.txt it looks like:

[I]document.write(‘<tr><td class=”menu” BGcolor=”#FFFFFF” width=”150″ valign=”top”>’)
document.write(‘<div id=”craftysyntax” style=”width:142px”>’)
document.write(‘<script type=”text/javascript” src=”/livehelp/livehelp_js.php?eo=1&relative=Y&amp;department=1&amp;serversession=1&amp;pingtimes=15″></script>’)
document.write(‘</div>’)
document.write(‘</td></tr>’)[/I]

On Firefox it displays as i want, please look [url]www.madeinwater.co.uk/index.html[/url]

The problem is on IE, where the little dialogue box goes out of the table and at the top.

Any ideas on fixing this?

many thanks.

to post a comment
JavaScript

5 Comments(s)

Copy linkTweet thisAlerts:
@FangMay 29.2008 — Do you have multiple versions of IE on your system?
Copy linkTweet thisAlerts:
@PoudaauthorMay 29.2008 — only 1, the last one IE7
Copy linkTweet thisAlerts:
@GSharpMay 29.2008 — I think Firefox and IE handle overflow differently by default. Try changing the table to have overflow set to 'hidden' and see if that helps.
Copy linkTweet thisAlerts:
@FangMay 29.2008 — It's caused by a law suit against MS which required the stupid pop-up.

Updating IE7 should stop the pop-up as the law suit has been resolved and MS issued an update to remove the pop-up.

It occurs in IE6 if you are running multiple versions of IE (can't be updated).
Copy linkTweet thisAlerts:
@PoudaauthorMay 29.2008 — Thanks GSharp - Not sure where i go to set this 'hidden"?
×

Success!

Help @Pouda spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.4,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...