• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Invalid argument in IE showing up in CSS file

 
Ranch Hand
Posts: 608
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!!
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 608
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you so much Eric!

But how can I allow the user to bookmark the page while still using AJAX?
 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Look into jQuery history plug-ins

Eric
 
Duran Harris
Ranch Hand
Posts: 608
Eclipse IDE Spring Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic