Saturday, March 27, 2010

Spry wont work in Windows IE

I am trying to develop a Spry application that will access an
.xml database. I have been working for so many hours, and I am
starting to get this to work on the Mac platform. But, no matter
what I try, I keep getting errors in the Windows environment in IE.
I am so tired, I don't know whether to continue this project or
just give up. I am hoping that someone can see something in this
code that might help. Thanks in advance...




http://www.stogiefresh.com/cigardatabase.htmlSpry wont work in Windows IE
It displays in both IE6 and 7. I am getting the following
error from the

browser tho.



Line 315

Char 3

Error: 'style' is null or not an object



It looks great in Firefox! :)





--

Nancy Gill

Adobe Community Expert

Author: Dreamweaver 8 e-book for the DMX Zone

Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
2003)

Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
A Beginner''s

Guide, Mastering Macromedia Contribute

Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
Web Development



''ddiaz'' %26lt;webforumsuser@macromedia.com%26gt; wrote in message


news:f216eb$mu4$1@forums.macromedia.com...

%26gt;I am trying to develop a Spry application that will
access an .xml

%26gt;database. I

%26gt; have been working for so many hours, and I am starting
to get this to work

%26gt; on

%26gt; the Mac platform. But, no matter what I try, I keep
getting errors in the

%26gt; Windows environment in IE. I am so tired, I don't know
whether to continue

%26gt; this

%26gt; project or just give up. I am hoping that someone can
see something in

%26gt; this

%26gt; code that might help. Thanks in advance...

%26gt;

%26gt;
http://www.stogiefresh.com/cigardatabase.html

%26gt;





Spry wont work in Windows IE
Thanks Nancy, yes, I did see the error, but what's confusing
about the error is that there are only 118 lines of code on that
particular page! Sheesh!



Also, would you know how I could make the floating window on
the right side, float downwards so that, as I scroll down the
database, the window with Tasting Notes and Storage Conditions will
track downward?



Thanks once again.



David
David -



About the error finding issue with line 315 - it's not
necessarily hitting line 315 and getting stuck_



You may have something inadvertently pointing to line 315
when it should be_ So look thru the code and check for this also_



Check one of your external files as well [either the CSS or
the JavaScript Files] as a couple of these ''look'' like they'd have
well over 315 lines of code_ One of the functions may be breaking_



I slip when using Site Manager all the time and end up having
to hunt down the offending typo_
I have been developing Spry applications for about a week. I
find that it is a wonderful tool for making quick projects but I
ran into the same sort of issues having to do with Browser
compliance, however Firefox seems to be one of the only really
compliant browsers for this framework. I combined a tabbing system
with the photo gallery and created an xml stream from PHP 5 and
MySQL. This way I can generate unlimited thumbnails, limit them 9
to a page, and dynamically switch from the thumbs page to the main
gallery page with a simple button click. I can also change
prev-next thumbs all within the page without refreshing. My main
problem is that the thumbnails or the gallery work perfectly when
not thrown into the tabbing SPRY system. I am figuring it would be
easier to just write my own DOM script to change the page
properties and get the same effect, but it is weird. In Windows IE
6 and IE 7 the thumbnails get lost, however in MAC safari the
actual gallery page gets lost. I'm not getting errors like everyone
is talking about in the thread, but it is still a frustrating
problem.



Any ideas?

No comments:

Post a Comment