Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Header configuration & styling »

Header fade gives cross-slide JS Error ("Exception thrown and not caught")


  #1  
Old Nov 30, 2010, 10:45 AM
jtz
 
3 posts · Nov 2010
Hi all,

I have a site (Wordpress 3.0.1) that uses ATA 3.5.3's rotating and fading header image feature.

When only the rotation part is used, there are no errors in FF, Chrome, or IE6/7/8. But the moment I turn on fading, IE (and IE only) gives the following error three times:

Line: 38
Error: Exception thrown and not caught

I can see the image fade to the next one, but just before it completes, the above errors happen.

I tracked the error down to the cross-slide.js abort function. Line 38 is:

throw format.apply(null, arguments);

Does anyone have an idea what's going on? Thanks in advance for the help!
  #2  
Old Dec 6, 2010, 10:36 AM
jtz
 
3 posts · Nov 2010
UPDATE: I uploaded the newest version of cross-slide.js, and the error is more descriptive this time around. It tells me that the "container element does not have its own width and height". Where would I find the container to specify the width/height?
  #3  
Old Dec 6, 2010, 01:37 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I believe the container element is the div#imagecontainer

one of the issues with this code is it doesn't honor the CSS styling for the container. For example, lets say you make the header image clickable. Once the script starts, it overlays the rest of the HTML(?) like it has a z-index of 999 so the clicking no longer works. It also does not pay attention to the positioning of the image, it puts it at offset 0,0 and this can make it look like the image jumps or shows an image behind the rotating image.

I'll be interested in what you come up with, I'm not a java programmer and don't really want to learn at this point
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Dec 6, 2010, 02:44 PM
jtz
 
3 posts · Nov 2010
Hmmm, thanks for that juggledad. I'll try playing around with the imagecontainer div and see what I can do.

Until I figure it out, I decided to just comment out the cross-slide.js abort() code that announces the error. Naughty, I know, but no more errors for now.
  #5  
Old Dec 15, 2010, 02:19 PM
johanM
 
16 posts · Jun 2010
Try to add a language="javascript" to <script type="text/javascript" line see if it solved your issue.
  #6  
Old Jan 25, 2011, 07:15 AM
Olekkk
 
1 posts · Jan 2011
I had the same problem (BTW, this is the number one from only two threads about CrossSlide and this error over the whole Internet :D).

In my case I just forgot to put the CrossSlide trigger in $(document).ready() function, so check if there's one in Your script.

Hope that helps.

Bookmarks



Similar Threads
Thread Thread Starter Forum Replies Last Post
Alt Text For "Comment" "Tag" and "Category" gifs jasebishop Atahualpa 3 Wordpress theme 0 Nov 12, 2010 11:09 PM
Delete all images from "/images/header/" and see error/warnings PradeepKr Page & Category Menu Bars 1 Aug 13, 2010 01:51 PM
installing Atuhualpha returns error "missing style sheet" joe hark New Versions, & Updating 0 Mar 25, 2010 12:23 AM
[SOLVED] Atahualpa IE7 &quot;endif&quot; Error header.php Actus Atahualpa 3 Wordpress theme 3 Sep 23, 2009 08:42 PM
"Fatal error: .../atahualpa/header.php on line 848" ??? Dem Header configuration & styling 5 Feb 19, 2009 06:06 AM


All times are GMT -6. The time now is 04:32 PM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.