Meaningless Drivel is fun!*
The moose likes HTML, CSS and JavaScript and the fly likes Invalid argument in IE showing up in CSS file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Invalid argument in IE showing up in CSS file" Watch "Invalid argument in IE showing up in CSS file" New topic
Author

Invalid argument in IE showing up in CSS file

Duran Harris
Ranch Hand

Joined: Nov 09, 2008
Posts: 598

Hi all,

I am using a tutorial at Google maps API tutorial to provide google maps functionality on a website.The only problem is that on Internet Explorer 7/8 I am getting a script error.The problem is that the error makes no sense to me.I am using the debugging feature of IE 8 to determine where the error is.What is confusing is that clicking on the error in the debugger highlights a line in my CSS file.Removing the style declaration on that line causes it to break on the next declaration.The declaration is a valid one too.It looks like this:

.treatmentsPageWrapper {
margin-top:10px;
}

Please can someone assist me?I don't want to have to use the static maps, it won't look nice on the site.Please reproduce the error via the following steps and advise me....

1.Open IE8 and press F12 for developer tools.Click on the 'script' tab and 'break-on-error'
2. Go to http://drfishspamorningside.co.za
3.Click 'Contact us'
4.Click 'start debugging' in the developer tools
5.Click 'View Map' on the web page

I will be so grateful if you figure this out!!


===>SCJP 1.5(72%)<===
==>SCWCD1.5(76%)<===
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You know that the site is horrible. How in the world can I send that contact page to my friend? I can not since you are using Ajax to load the page and not doing anything to make sure the user can link/bookmark to it.

The bug is you can not have spaces in the window name on window.open

Eric
Duran Harris
Ranch Hand

Joined: Nov 09, 2008
Posts: 598

Thank you so much Eric!

But how can I allow the user to bookmark the page while still using AJAX?
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Look into jQuery history plug-ins

Eric
Duran Harris
Ranch Hand

Joined: Nov 09, 2008
Posts: 598

Will do.

The reason why I chose to use AJAX was that I didn't to choose to use a framework that provides me with a 'theme' functionality.This meant that the menu would have to be reloaded every time a user navigated to a different page.In hindsight I really should have opted for glassfish hosting and done the thing in Java.But then again, the only Java technology that I know of/am slightly familiar with that offers such functionality is Liferay.

Is there any such functionality that can be easily implemented on only a glassfish server or would I definitely need to go the portlet route?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Invalid argument in IE showing up in CSS file
 
Similar Threads
General questions about Map interface.
how to load a 3d image using java3d
problem when integrating jspell with tinyMCE editor
Ajax doubt - url in open method
JSPF file can not be included in JSP file and gives error