JQuery :: Drop Shadow Not Displaying Right In Certain Browsers?
Jan 6, 2010drop shadow not displaying right in certain browsers?
View 2 Repliesdrop shadow not displaying right in certain browsers?
View 2 Replieshow to use the jquery and the dropshadow pluggin to do drop shadows on images.I'm doing this:
Code:
<script type="text/javascript" src="/css-js/jquery.js"></script>
<script type="text/javascript" src="/css-js/jquery.dropshadow.js"></script>
<script type="text/javascript">
[code]...
Can anyone tell me how to make a drop shadow for a table or td through
css. I dont want to use any image. I want it done through background
color.
I have a basic CSS menu, that has submenus. I am wanting to add a drop shadow to the drop down boxes, using jQuery. I have found a nifty jQuery plugin that does shadows: [URL] the drop down shadow displays whether or not the submenu is showing/visible. The menu structure is rather simple with UL and LI:
[Code]....
I have the following code to display an image (and link if there is one):
if (ads[adNumber].href)
{
tempCode += ('<a href="'+ ads[adNumber].href +'" target=_blank ">
[code]....
I'm ok with the basics of html and css, but and fairly new to it, so have been stumped by this latest problem. I built a site [URL] about a year ago, and am fairly sure that it worked perfectly in all browsers at the time. However, I've just checked it and have noticed that the last option on the navigation bar at the top ('noticeboard') seems to have disappeared in IE. It's still displaying perfectly in Firefox and Chrome however.
The html for that section is:
<div style="top: 0px; left: 0px" id="header">
<div style="text-align: center; top: 34px; right: 75px" id="menu">
<ul id="navigation">
<li class="active"><a href="index.htm"><span>HOME</span></a></li>
<li><a href="callington_LFC_fixtures.htm"><span>FIXTURES</span></a></li>
<li><a href="callington_LFC_reports.htm"><span>REPORTS</span></a></li>
<li><a href="callington_LFC_photos.htm"><span>PHOTOS</span></a></li>
<li><a href="callington_LFC_players.htm"><span>PLAYERS</span></a></li>
<li><a href="callington_LFC_contact.htm"><span>CONTACT</span></a></li>
<li><a href="callington_LFC_noticeboard.htm"><span>NOTICE BOARD</span></a></li>
</ul></div></div>
If you visit the site in different browsers you'll see what I mean. This time it's working fine in IE, but not in Firefox or Chrome (I feel like tearing my hair out!). The problem is with the very bottom section on the page. The alignment is all out. The html reads:
<div><img alt="" src="images/right_bottom.png" /></div></div><br clear="all" />
<center><img style="width: 552px" alt="" vspace="3" width="552" src="images/hr.gif" /></center></div></div>
<div id="footer"><a href="callington_LFC_contact.htm">Contact</a>|<a href="index.htm">Home</a>| <a href="callington_LFC_links.htm">Links</a>|<a href="callington_LFC_map.htm">Map</a>|<a href="callington_LFC_sitemap.htm">Sitemap</a> </div></div>
<div id="bottom"><br /> .....
I am using the Superfish Module and have been able to successfully install and use it. The problem I am having is that the sub menus are being drawn behind the banner / header area and therefore you are not able to see them or click on them.
Please let me know whether to change the index.php or .css file to see
the drop down menus properly. Following are details you might need [code]...
get the information selected from the drop down boxes in my form to display in a pop up. The text field and text area information diplays fine. Can anyone tell me why this isnt working?
JavaScript....
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function displayHTML(form) {
[code]....
Why this code is not working on Webkit browsers:
Only jquery and the plugin printed above are loaded, so there shouldn't be any conflicts.
HTML:
Chrome gives the following error: Uncaught TypeError: Object #<an Object> has no method 'followUser
I've tried a variety of ways to animate the CSS box-shadow property and have been having hit or miss success. Can jQuery animate the box-shadow yet and if so, anyone have code? I noticed a plugin that does this but it seems to get down into the bowels of JavaScript and manipulate and extend jQuery in ways that i don't want to get into.
I know that there's the box-shadow, -moz-box-shadow, and -webkit-box-shadow properties available, and to use them in jQuery they'd be BoxShadow, MozBoxShadow, and WebKitBoxShadow, but anytime I animate them I lose my initial CSS box shadow settings. More importantly I haven't found a way to manipulate some of the box shadow properties without modifying them all. In other words, I'd also like to animate just the x-offset without having to specify the entire box shadow string every time.
I assumed that this might be related to animating the border-radius CSS property and read a thread on stackoverflow about how to animate that, but it doesn't seem to extend as readily to the box shadow as I had hoped.
I'm developing a website utilizing Jquery Drop Shadow and thickbox and other things. I just implemented the thickbox and thought that maybe the slow response was my system (I've had photoshop, 12+ browser windows up, etc). I realize that may not be the case and I suspect jquery's drop shadow is a hog. I don't want to go through the entire code and implement a different shadow method at this point. Instead I'm wondering if anyone can verify this issue
[URL]... Click on the "Film Reel" and it may be especially slow to load. If you suspect it is my use of the Jquery Drop Shadow, can you recommend ways I could optimize it? One idea I have is to toggle it off and on when thickbox is opened and closed. However I don't know how to do that yet.
I want to know that how can I achieve overlay and shadow box when I click some button or link. I was trying to search, but I don't know to locate.
View 1 Replies View RelatedI am using and modifying the sample demo page and have a error on IE:
Using:
The fade effect on IE causes that the image shadow.png appears black on border for a while, fade effect is too uggly, firefox and safari works fine. Now I have to set fade=0 only to support IE7.
I downloaded a shadow box from the web that uses javascript and based on the size of the div it applies a shadow. This is great however when i apply a slider javascript function to it to make the div bigger the shadow goes nuts and does not like it.
Below is the code for the shadow box.
There is a live example of this here. [url]
On the mouseDown I've added a inset box-shadow to a button. This needs to stay active while the functionality of the button is in use, then when the button is clicked again the functionality stops and therefore I need to remove the inset box-shadow. This is the simple piece of Javascript I have written so far:
function mouseDown(ctrl){
ctrl.style.borderColor = '#aaaaaa';
ctrl.style.boxShadow = 'inset 0 0 5px #999999';
ctrl.style.WebkitBoxShadow = 'inset 0 0 5px #999999';
}
I want to change the color and the direction and color of the shadow of a text in a DIV area randomly.So far I've made a function that uses random
[Code]...
P.S. When I press DOT after tekst.style I dont see anything related to shadow.
I would like some help in how to "shadow effect" words and letters in.I don't know anything about Javascript butI know there has to be a simple way to do this and be able to change the shadow color, whether shadow is left or right, size, etc.
View 14 Replies View RelatedI'm trying to build a background in two parts. The header bg is in the body and the lower part is a div with a gradient background color generated by CSS3 or IE filters. I had problems with getting the gradient to stretch all the way to the side in IE7 with plain CSS so I had to start looking for more watertight solutions.
[Code]...
If there are easier methods to solve this split background thing than JavaScript, I'm all ears. I can PM the address of the website, if someone wants to take a look.
I'm trying to slowly blur text but I'm running into a problem where color: transparent text is applied before text-shadow. I need it to apply at the same time. If it isn't apparent by the example, I'm using text-shadow to blur the text out to be unreadable, I'm not trying to add a simple text shadow. I need this to a slow animation. I realize you can select the text and continue reading, but I'm not trying to block access to the text, I just need the blur effect.
Below is a full working version of my code.
<script src="[URL]"></script>
<script src="[URL]"></script>
<script>
$(document).ready(function(){
$("#blur01").click(function() {
$(this).animate({ backgroundColor: '#999999', textShadow: '0 0 15px #000', color: 'transparent' }, 2000); });
$("#blur02").click(function() {
$(this).addClass('blur', 2000);
});
$("#blur03").toggle(function() {
$(this).animate({ textShadow: "0 0 15px #000", color: "transparent", backgroundColor: "#999999"}, 2000);
},function() {
$(this).animate({ textShadow: "0 0 15px #F00", color: "transparent", backgroundColor: "#999999"}, 2000);});});
</script><style>
div {font-size:30px; margin:5px; padding:5px;}
.blur {text-shadow:0 0 15px #000; color:transparent; background:#999999;}
</style>
<div id="blur01">Text Blur 01 - click</div>
<div id="blur02">Text Blur 02 - click</div>
<div id="blur03">Text Blur 03 - toggle</div>
I am asking jQuery to tell me which drop down option is selected in a drop down list - like this:
I would like to check if this was successful before I proceed. What are the possible return values for this statement?
If no id exists.
If no option is selected.
If some other problem occurred.
In these cases am I expecting a null return; an undefined return, a false return value?
And, based upon the complete set of return possibilities, what would be the best and most comprehensive tests I could apply to cover every base.
i'm having with a superfish menu i have tried to add to my wordpress site.The menu seems to work fine for the base-level (top parent pages) menu items.But the drop down menus seem to flash on screen for just a second and then disappear when the mouse hovers over the menu items.To see an example, please check out the top menu on this temporary development page: http:[url].....I have tried adjusting the z-index in superfish.css file but it doesn't seem to be having any effect.
View 1 Replies View RelatedI am implementing auto re-order drop down values in asp.net. My requirement is something: I have five drop down and each has populated using 1 to 5 values. when I changevalue from dropdown, other drop down values(numberordering)should change automatically.
View 1 Replies View RelatedI created a drop down menu for my search bar on my website using JQuery / hover intent..The drop down is activated by the user hovering over a button, and inside there are twocombo boxesand acheck box.If the user tries to choose an option in the combo box, thedrop downdisappears..Chrome, Safari, Opera and FireFox are working fine, but IE7 + 8 have this problemI have uploaded an image of the drop down with the combo box, it is a print screen of itworkingin Chrome--> The second image is where the bug happens in IE
View 2 Replies View RelatedI have been searching for a long time but have been unsuccessful on how to develop a drop down menu but have the menu items show in a list above the main nav. Not below. I really like the way this functions:[URL].. But I would like the item in the list to appear above the main nav so it animates up not down. Can anyone help me on how to alter this js code to perform this task?
Here is the jQuery file link:[URl].. I tried going through this js file but it very complex. Can anyone tell me what I need to change to have the animation roll up instead of down?
how can a menu like the image attached
1 - drop up instead of drop down
2 - all with same and fixed height
3 - possible mult levels
Attachments
menu.jpg
Size : 29.72 KB
Download : 165
Using jquery 1.5 and part of my XML is this
<gd:when endTime='2011-03-03T16:00:00.000-06:00' startTime='2011-03-03T11:00:00.000-06:00'/>
If I use:
$(xml).find('gd\:when').each(function(){
alert($(this).attr('startTime'));
});
[Code]....
It works in Safari but in Firefox I get the error:
uncaught exception: Syntax error, unrecognized expression: [nodeName=gd:when]