Spry Sliding Panels not working in IE7
I just created page with sliding panels horizontally and
works fine on safari FF and opera but in IE7 just not working
properly. The slides are expanding outside the page and i cant fix
that. Is that normal for IE?
the link is :
http://ironspiderart.com/Pages/mentshirts/mentshirts.html
Thank you
Thanks for your help :] I ended up realizing that a huge
bloated js navbar wasn't all that great of an idea anyway, so I
scrapped it and used a CSS-based one instead...much cleaner and
works better (no preloading! woohoo.) It looks like the problem was
probably an amalgamation of many things, but it's resolved now.
quote:
IE doesn't seem to like the PNG images you are using
understatement of the decade.
Similar Messages
-
Spry Sliding Panels not working in IE
I've been working for about 12 hours straight on getting this
working correctly - my Sliding Panels just aren't working at all in
IE. The panels load properly - for example, you can see only the
first loaded panel, not all of them - but when I click a link to
switch to the next, nothing happens. Firebug is reporting no
errors, and neither is IE. Here is the relevant code:
<head><script type="text/javascript"
src="SpryAssets/SprySlidingPanels.js"></script>
<link type="text/css" rel="stylesheet"
href="SpryAssets/SprySlidingPanels.css"></head>
<div id="mainContent">
<div id="panelwidget" class="SlidingPanels">
<div class="SlidingPanelsContentGroup">
<div class="SlidingPanelsContent" id="main">Main
Content<br /><a href="images/news.png" rel="lytebox"
title="Omgtest!"><img src="images/news.png"
/></a><br /> <a href="javascript:void(0);"
onclick="sp1.showPanel('series');">TEST</a></div>
<div class="SlidingPanelsContent" id="series">Series
and Models</div>
<div class="SlidingPanelsContent" id="about">About and
Bio</div>
</div>
</div>
<script type="text/javascript">var sp1 = new
Spry.Widget.SlidingPanels("panelwidget");</script>
</div>
The following might be somewhat related: I am using the
Lytebox javascript library, which is a Lightbox clone (that doesn't
use prototype), as well as a preloader for my mouseover nav bar,
with this code:
<script type="text/javascript">
function init() {
MM_preloadImages('images/menu/main_click-trans.png','images/menu/main_hover-trans.png','i mages/menu/series_click-trans.png',
'images/menu/series_hover-trans.png','images/menu/about_click-trans.png','images/menu/abo ut_hover-trans.png');}
</script>
My nav bar links to the panels like this:
onclick="MM_nbGroup('down','group1','Main','images/menu/main_click-trans.png',1);
sp1.showPanel('main'); return false"
However, a plaintext link inside of the first panel - "<a
href="javascript:void(0);"
onclick="sp1.showPanel('series');">TEST</a>" - does not
work either.
Just for fun I thought I would try adding min-height:0; zoom:
1; to the CSS classes for slidingpanels.... no dice there as well.
URL is
www.goldensealdrums.com/wip
Any ideas? I am at a complete loss. Thanks.Thanks for your help :] I ended up realizing that a huge
bloated js navbar wasn't all that great of an idea anyway, so I
scrapped it and used a CSS-based one instead...much cleaner and
works better (no preloading! woohoo.) It looks like the problem was
probably an amalgamation of many things, but it's resolved now.
quote:
IE doesn't seem to like the PNG images you are using
understatement of the decade. -
Why is my Spry Collapsible Panel not working in IE
I have created a very very simple website, in dutch (i'm dutch). http://www.dgvastgoed.nl
And on the 'projecten' (dutch word for projects) page i've made some collapsible panels.
The picture is only showing when you click on the text once, when you click again the picture disappears, that's what i want.
But in Internet Explorer it always shows, and that's not what i want.
How do I get this right in Internet explorer?
(if it's possible a second question: How do i get on the 'werkzaamheden' page the 3 links in the top left corner on the position like they are in safari and firefox.)It lookslike you fixed it, it works fine in IE7 and 8
-
Opening specific Spry tabbed panels not working or displaying in IE
I have a tabbed panel spry widget on an asp page in Dreawmweaver (http://www.herbsmithinc.com/casedog.asp) that worked marverously across IE, Firefox and Safari until I tried to get different panels to open on load through links. I used the following tutorial: http://foundationphp.com/tutorials/spry_url_utils.php
Everything works as it should in Firefox and Safari but the panels all appear at once, stacked down the page in IE. Does anyone have a fix for this or see what it is I'm doing wrong?
Thanks!!I added the code, but It didn't work
I just noticed that there's an error on the page when it loads in IE:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6.6; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; .NET4.0E)
Timestamp: Thu, 24 Mar 2011 15:05:33 UTC
Message: 'Spry.Widget.TabbedPanels' is null or not an object
Line: 292
Char: 1
Code: 0
URI: http://www.herbsmithinc.com/casedog.asp
I searched the error but didn't come up with too much. Any other suggestions? I really appreciate the help!! -
SPRY ALBUM GALLERY not working in IE7
Hi, I have created a spry album gallery using adobe's sample
code and have test via dreamweaver - firefox 3.0 & IE7 to view
the site. It works a treat.
I have uploaded the files and now running live. One problem.
I have type the web address into IE7
(www.carreon.com.au/elyssa/pictures.html) and nothing appears
except for the banner at the top. I have tried this in firefox and
it works fine.
I have made sure that the java script files are uploaded and
have checked that my IE settings are correct. what did i do wrong??
here is my page code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1" />
<link rel="stylesheet" href="css/style.css"
type="text/css" />
<title>ELYSSA'S PICTURES</title>
<script type="text/javascript"
src="includes/xpath.js"></script>
<script type="text/javascript"
src="includes/SpryData.js"></script>
<script type="text/javascript"
src="includes/SpryEffects.js"></script>
<script type="text/javascript">
<!--
var dsGalleries = new
Spry.Data.XMLDataSet("data/galleries.xml", "galleries/gallery");
var dsPhotos = new
Spry.Data.XMLDataSet("{dsGalleries::@file}", "gallery/photo" );
function MM_effectHighlight(targetElement, duration,
startColor, endColor, restoreColor, toggle)
Spry.Effect.DoHighlight(targetElement, {duration: duration,
from: startColor, to: endColor, restoreColor: restoreColor, toggle:
toggle});
dsPhotos.setColumnType("file/@height", "number");
dsPhotos.setColumnType("file/@width", "number");
//-->
</script>
<link href="css/gallery.css" rel="stylesheet"
type="text/css" />
</head>
<body>
<div id="wrapper" align="center">
<div id="banner" style="width:800px">
</div>
<div id="menu">
<div align="right" class="smallwhitetext"
style="padding:9px;">
<a href="journal.html">Journal</a> |
<a href="pictures.html">Pictures</a> | <a
href="#">Videos</a> | <a href="#">Events</a> |
<a href="#">Wishes</a> </div>
<div class="smallgraytext" id="submenu"
spry:region="dsGalleries">
<label for="chooseGallery">Select gallery:
</label>
<select name="chooseGallery"
spry:repeatchildren="dsGalleries" id="chooseGallery"
onchange="dsGalleries.setCurrentRow(this.value)"
spry:choose="spry:choose">
<option value="{ds_RowID}" spry:when="{ds_RowNumber} ==
{ds_CurrentRowNumber}"
selected="selected">{name}</option>
<option value="{ds_RowID}"
spry:default="spry:default">{name}</option>
</select>
</div>
<div class="thumbs" id="thumbs" spry:region="dsPhotos">
<span spry:repeat="dsPhotos">
<img src="images/small/{file}" width="50" height="50"
onmouseover="MM_effectHighlight(this, 10, '#ffffff',
'#CE317E', '#CE317E', false)"
onmouseout="MM_effectHighlight(this, 10, '#CE317E',
'#FFFFFF', '#ffffff', false)"
spry:setrow="dsPhotos"/>
</span>
</div>
<div class="mainPic" spry:detailregion="dsPhotos">
<p><span class="smallredtext">
</span><span class="smalltitle">
</span><img src="images/large/{file}"
alt="Images"/> <span class="smallredtext"><br
/>
{caption}</span>
</p>
<p>
</p>
</p>
</div>
<div id="footer" class="smallgraytext">
<a href="#">Home</a> |
<a href="#">Journal</a> | Events
<a href="#"></a> | Wishes
<a href="#"></a> |
<a href="mailto:[email protected]">Contact
Us</a> |
© 2009</div>
</div>
</div>
</body>
</html>
please help me...
thank you
JoHi,
Your server is serving up your XML files with a Content-Type
of text/html. It should be text/xml or application/xml. IE is
pretty particular about the Content-Type for XML files. It won't
create an XML DOM document in the XHR response unless the
Content-Type is one of the ones I mentioned above.
--== Kin ==-- -
Spry Accordian Panel not Working in IE6
I'm designing on a Mac in Dreamweaver CS3 and the Spry widget
Accordian is not expanding right when testing in IE6. Does anyone
know if there is a fix for this?
MissyThe samples work fine In IE6.
So if u can give us a piece of code & constructor or a
online url so we could investigate this behavior. -
Spry tab panel not working in IE
I have a site that uses tabs-------it is ok in firefox but not in IE
The site url is grillonthehill.net
Please help.
I have a site that uses tabs-------it is ok in firefox but not in IE
The site url is grillonthehill.net
Please help.
I have a site that uses tabs-------it is ok in firefox but not in IE
The site url is grillonthehill.net
Please help.No I didnt, if you click on menu, you see the tabs.
bill
< -
Spry sliding panels crashes IE7 in a table
I have a sliding panel within a table - it works in
everything except ie7 - if i take it out of the table it works fine
in ie7
any ideas on how to fix it.
it was being triggered from an image map - i changed that to
a simple text link and it still wont work.I have the same issue - IE7 Freezing with a sliding panel.
Works ok in other browsers including IE6.
Anyone have a solution for this or know if it is a Spry or
IE7 problem? -
Okay, So I'm dense at times!
I want to try and learn the Spry Sliding Panels. Problem is that it does not appear in my Insert – Spry menu. After reading at Labs it assumes that since I have DW CS4 that it is installed. I can't be that dense.
Yeah, I located the CSS and and JS files online at Adobe. But that sure won't install it into my DW – Insert menu.
Am I really that dense?To my knowledge it shouldn't appear in the insert menu?
I did the below tutorial to learn all about sliding panels.
The tutorial will show you how to link your js and css files to your html etc, which make the panels work.
http://www.adobe.com/devnet/dreamweaver/articles/sliding_panel.html -
I've been working on extending Spry's Sliding Panels to allow
me to set a timer to auto advance to the next panel. Whilst I had
success with a script that targeted a particular element (eg sp1)
it really isn't terribly useful to have to recode per panel. So
trying to extend instead. Problem is that I keep getting an error
that says the advanceToNextPanel function doesn't exist. Hoping
someone might be able to point me in the right direction. Code
below:
// Sliding Panel Timer
// Based upon
http://labs.adobe.com/technologies/spry/demos/gallery/gallery.js
and feedback within the Adobe Spry forum
// Extend SlidingPanels to include additional data
Spry.Widget.SlidingPanels.prototype.gPanelShowInterval =
1000; // msecs between panels
Spry.Widget.SlidingPanels.prototype.gPanelShowOn = false;
Spry.Widget.SlidingPanels.prototype.gPanelShowTimer = null;
Spry.Widget.SlidingPanels.prototype.gAutoStartPanelShow =
true;
Spry.Widget.SlidingPanels.prototype.addPanelShowTimer =
function()
if (this.gPanelShowInterval == undefined)
this.gPanelShowInterval = 10000; // msecs between panels
if (this.gAutoStartPanelShow)
this.startPanelShow();
// Kill any previous timer event
Spry.Widget.SlidingPanels.prototype.killPanelShowTimer =
function() {
if (this.gPanelShowTimer)
clearTimeout(this.gPanelShowTimer);
this.gPanelShowTimer = null;
// Display next sliding panel on rotational loop
Spry.Widget.SlidingPanels.prototype.advanceToNextPanel =
function() {
var tPanels = this.getContentPanels().length - 1; // Total
Panels
var cPanel = this.getContentPanelIndex(this.currentPanel);
// Index of currently displayed panel
if (tPanels == cPanel)
this.showFirstPanel(); // Return to the first panel
else
this.showNextPanel(); // Show the next sliding panel
this.setPanelShowTimer();
// Setup timer event to change to next panel
Spry.Widget.SlidingPanels.prototype.setPanelShowTimer =
function() {
this.killPanelShowTimer(); // Kill any previous timer event
this.gPanelShowTimer = setTimeout( function() {
this.gPanelShowTimer = null; this.advanceToNextPanel(); },
this.gPanelShowInterval);
// Start the timed sliding panel
Spry.Widget.SlidingPanels.prototype.startPanelShow =
function() {
this.gPanelShowOn = true;
this.setPanelShowTimer();
};My previously posted I'd fixed this but it is in fact not
working.
Hi hope you can help.
My Spry Sliding panel is appearing over my floats in IE, fine
in Firefox.
Test
page here
Sliding
Panels CSS Here
Any ideas?
Is this a spry problem or my CSS?
Thanks.
Rich -
Spry Sliding Panels & iFrames Issue
NOTE: This was also posted in the Dreamweaver section
http://www.ripplecommunications.com/75th/index.htm
I'm having an issue with iFrames and their visibility within
a Spry sliding panel. When the panel slides, the iFrame stays
visible outside of the sliding panel container.
Any ideas? You can see an example above, click on a date in
the timeline. This seem to occur in Firefox. IE 7 is OK.
2.0.0.11 on a PC. Below is a screenshot to the issue that I
see.
http://www.ripplecommunications.com/75th/screen.pngjim,
I am working with sliding oanels in GoLive and trying to
incorpoate iFrames as well. It seems to work (all manual coding of
course) and i do not have problems with the visible issues. have
you checked the
"slidingpanelsconent"..."overflow"
value in the css file, should be hidden. -
Spry Sliding Panel automatic changes
Hi, is there any way to do sliding panel to change
automatically (without clicking on any link) with some duration,
about 10sec.? I will be appreciate for any helpMy previously posted I'd fixed this but it is in fact not
working.
Hi hope you can help.
My Spry Sliding panel is appearing over my floats in IE, fine
in Firefox.
Test
page here
Sliding
Panels CSS Here
Any ideas?
Is this a spry problem or my CSS?
Thanks.
Rich -
Spry Sliding Panel Problem - Repost
Hi hope you can help.
My Spry Sliding panel is appearing over my floats in IE, fine
in Firefox.
I previously posted but it is in fact not working.
Test
page here
Sliding
Panels CSS Here
Any ideas?
Is this a spry problem or my CSS?
Thanks.
Richquote:
Originally posted by:
kinblas
If you're getting a "Spry is undefined" error, it probably
means that the browser is not finding the JS files you included at
the top of your HTML file. Make sure the path to your JS files are
correct ... you can do this by trying to load the JS files directly
in the URL field at the top of your browser.
--== Kin ==--
if u look at the code.. u will seee:
<link href="SprySlidingPanels.js" rel="stylesheet"
type="text/javascript"/>
it should be
<script src="SprySlidingPanels.js"
type="text/javascript"></script> -
Edit JS on spry sliding panels widget to fix auto panel height problem
Hi guys,
Ive been trying for a while to make the sliding panels widget
show each panel in its own height instead of the longest panel's height in the container.
I tried reading all the js file to play with it and find a solution but the truth is i dont know how to do what i want.
I do, however, have a list of things that i believe if implemented should work,
could you help me do these fixes on the js? ( any one you know how to or think will work )
1. edit so that: Panels dont have any height ( or panel content display none ) if it isnt current panel. If current panel is "id:1" the assume class 1 style properties. As soon as it looses focus/"currentpanel" class it looses its class 1 properties. And the new current panel ("id:2") assumes its own class 2 properties. And so on.
2. edit so that: PanelContainer ( the one that holds all the panels ) displays none BUT the current panel. So all panels could be display none unless they assume the "currentpanel" class and so they change to display. Maybe this way the container assumes only the height of the displayed panel and looses it once its no longer displayed assuming the next displayed one.
3. edit so that: Panel container checks for current panel's height and assumes that height instantly ( there is still a panel inside the container that would be longer than the current panel, maybe with overflow hidden this isnt a problem )
4. Using SpryDOMUtils.js I am currently playing with the code pasted below,
the idea came from Gramp's Spry Sliding Panels Group Navigation Buttons cookbook
He addresses a different problem, but since it has to do with identifying the current panel and doing something when the panel is x number, i thought there could be a height property set for each panel when each is the current one, atleast something can be done with this, my problem is i dont know how to set that something. Please check out the following code:
<script>
// The following function - setPanelNavigation() - assumes the following
// 1. Sliding Panels have a class of SlidingPanelsContent AND a unique ID
// 2. The Previous Panel button has an ID of previousPanel
// 3. The Next Panel button has an ID of nextPanel
// 4. SpryDOMUtils.js has been linked
function setPanelNavigation() {
var current = sp1.getCurrentPanel(); // Get the current panel
var panelCount = sp1.getContentPanelsCount(); // Get the total number of panels
var panelNumber=1; // Give a value to the first panel number
Spry.$$(".SlidingPanelsContent").forEach(function(node) { // Cycle through the panels
if (node.id==current.id){ // The current panel now receives a number
if ( panelNumber==1 ) Spry.$$(".SlidingPanelsContentGroup").setAttribute('height', 750); //
if ( panelNumber==2 ) Spry.$$(".SlidingPanelsContentGroup").setAttribute('height', 250); //
panelNumber++; // Go to next panel after incrementing the count
Spry.Utils.addLoadListener(setPanelNavigation); // Set buttons to initial value
var sp1 = new Spry.Widget.SlidingPanels("panelwidget");
</script>
What am i doing wrong in that bit ? I thought i had it there, but it didnt work.
Anyone, please help. Thank you.wait my bad, the link to my page is:
http://www.pupr.edu/department/industrial/students.asp
** no s on department -
Spry Tabbed Panels - not correct in IE but correct in Chrome and MF
Hi,
I'm having problems with an extension I used for a client, so I want to use the Spry tabbed panels form dreamweaver, but they in IE8 it puts all the content under each other in the first tab ??
In Chrome and MF its correct. Do you know about this problem or is it because I did something wrong?
see: www.zorgfilosofie.nl/index2
The other pages where made with an extension but with that script my client can't edit with contribute. That's why I want to implement Dreamweaver Spry Tabbed Panels.
Thanks for answering!
CarlaHello there from down under J
Het was mooi weer, maar vandaag regent het.
Toch zijn hier in deze kamer veel zonnestralen, want het probleem is opgelost!
I searched the whole evening for alternative but it did’t work with templates.
With the js files the problem is solved.
I don’t understand why the js file was not correct, because I just bought CS5.5
Where do I have to put de file so the problem will not happen again when I make another site?
Thanks a lot!
Best regards and take some sun with you!
Carla
Van: altruistic gramps [email protected]
Verzonden: woensdag 5 oktober 2011 2:16
Aan: Carla Leliveld
Onderwerp: Spry Tabbed Panels - not correct in IE but correct in Chrome and MF
Re: Spry Tabbed Panels - not correct in IE but correct in Chrome and MF
created by altruistic gramps <http://forums.adobe.com/people/altruistic+gramps> in Spry Framework for Ajax - View the full discussion <http://forums.adobe.com/message/3954185#3954185
Maybe you are looking for
-
5th gen Ipod not recognized and not charging on any computer.
Hello I have a 5th gen Ipod with an odd issue. I have an Ihome radio with Ipod dock in which my Ipod charges and plays everthing just fine. I usually just keep it there to charge and only hook up to my computer if I want to buy something or put other
-
How do i transfer content from my ipod to itunes without losing it?
My laptop crashed and as a result i've reinstalled vista, and subsequently itunes. I have re installed all my music onto the reinstalled itunes. However all the tv shows, movies, photos etc that are currently on my ipod are not backed up. Therefore i
-
Dear All , We have a transport contract created seperately for the Transport Vendor & material PO created for another vendor ie the supplier . We ask the transporter to bring the material from the supplier place (based on the Contract created) .When
-
Gen Photo (Private Collection) vs CustomPanel_allWidgets
I'm very new to scripting for bridge and trying to get my head around it. I've grabbed some reference material and I was wondering if someone can tell me why when you copy the Gen Photo and CustomPanel XMP examples into the XMP folder only the Gen Ph
-
BadPaddingException: Given final block not properly padded
Hi, Can someone please tell me what's going on?? When I call c.doFinal(byte[]) and the length of my byte array is 512, I get a BadPaddingException. However, when I make the same call and my byte array's length is 504, everything is fine. Both are mul