Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Coding error? in Internet Explorer
Old 05-30-2006, 06:04 AM Coding error? in Internet Explorer
Registered User

Posts: 24
Location: UK
Trades: 0
HI,

Hope someone can help.
First let me start be telling you all I know nothing about coding / Html and designed my site in Dreamweaver.

My problem is that some pages are showing an error when viewed in I.E. giving the little yellow error triangle in the bottom left of the screen. Apparently there are errors in some lines : "Error - Object expected", and the object appears the be the web address for the page it is actually on???

Here's my most basic page which also shows the error - http://www.onlineartdemos.co.uk/Misc...es/contact.htm

Hope someone can help as i am stuck on this one

Thanks
onlineart is offline
Reply With Quote
View Public Profile Visit onlineart's homepage!
 
 
Register now for full access!
Old 05-30-2006, 01:21 PM Re: Coding error? in Internet Explorer
mgraphic's Avatar
Truth Seeker

Latest Blog Post:
JAMISONTUNES
Posts: 2,898
Name: Keith Marshall
Location: Connecticut
Trades: 0
You have a syntax error in your javascript. There is a meta tag pasted right after a function on line #35 right after the }
__________________

<mgraphic /> - I don't have a solution but I admire the problem.
mgraphic is offline
Reply With Quote
View Public Profile
 
Old 05-31-2006, 03:00 PM Re: Coding error? in Internet Explorer
Super Talker

Posts: 140
Trades: 0
Always try to keep your site JavaScript free unless you really need them. Adding codes like below will only make your site unpleasant to visitors. They will never help you to protect your source codes.

Quote:
<script language="JavaScript">
<!--
// By JavaFile! http://www.javafile.com
// Permission granted to SimplytheBest.net to feature the script in the
// DHTML script collection at http://simplythebest.net/info/dhtml_scripts.html.
var message="Thank you for right clicking. However, that is not allowed on this page!";
function click(e) {
if (document.all) {
if (event.button == 2) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// -->
</script>
__________________

Please login or register to view this content. Registration is FREE
nvidura is offline
Reply With Quote
View Public Profile
 
Old 06-01-2006, 05:42 AM Re: Coding error? in Internet Explorer
Registered User

Posts: 24
Location: UK
Trades: 0
Thanks both.

That's simple for me to fix, I'll take that code right out.

Thanks again
onlineart is offline
Reply With Quote
View Public Profile Visit onlineart's homepage!
 
Reply     « Reply to Coding error? in Internet Explorer
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.58390 seconds with 12 queries