[jQuery] jQuery Flash Stacking Order
I am working on a project now where I am cleaning up the code on a certain page. I am upgrading to using the jQuery Flash plugin as part of it. The only problem is that, once I made that upgrade, a small PNG image that needs to be placed over the Flash now goes behind the SWF object in the stacking order, whereas before it appropriately sat on top of the Flash. I can give the URL if somebody asks for it but the project is mildly proprietary at the moment and I think I have probably described the problem well enough for an answer. As usual, thanks in advance for any help.
[jQuery] Re: jQuery Flash Stacking Order
One thing that often helps in these cases is to set wmode=transparent in the object's params --Karl Thanks. I think I have done that. You can see the page I am working on here: http://www.cmzmedia.com/enableit/template.html and the page where it does work (but with the old-style Flash embedding code) here: http://www.ethernetextender.com/ethernet-extension-products/template.php#
[jQuery] Re: jQuery Flash Stacking Order
Actually, I think I have it working now. Thanks, everyone.
[jQuery] Smart Banner Modification Needed
On the site I am almost finished developing at http://www.murphytx-online.com/murphy/eating-out-american.php I am using the Smart Banner jQuery script from http://www.webresourcesdepot.com/smart-floating-banners/ This script keeps the content of the two sidebars always visible as the visitor scrolls down through the main content. However at any time other than when it's at its beginning position it is too low. I realize it is being kept at its starting position but when it doesn't need to be there I am trying to get it to stay at the top of the viewable area (with a little padding, of course). This is especially important to get worked out for monitors with a lower resolution because on those monitors some of the sidebar content is *never* seen but is always below the viewable area. I have made several attempts to fix this and I figured each attempt would either: a) fix it, or, b) throw everything completely out of whack. But oddly enough each of my attempts had no affect whatsoever. Thanks in advance for any help.
[jQuery] Re: My new website AllJobsXChange.com developed with Jquery
You can use ending tags in HTML 4.01. It helps for DOM reasons to know where an element begins and ends. On Jul 20, 10:29 am, son sco0...@yahoo.com wrote: Rob, Thanks. I have used the !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; since I have deprecated elements. I have a question for everyone. Supposedly for HTML 4.01, the ending of an input tag is simply but in w3school it show /. It does work either way, but which one is corrrect by syntax? Should ending tags matter in terms of it may or may not be rendered by the browser correctly? Son On Jul 18, 8:14 pm, RobG robg...@gmail.com wrote: On Jul 18, 9:40 am, son sco0...@yahoo.com wrote: Thank you Rob. I can't remember what make me use the XHTML doctype, I thought I had some problem with running some jquery stuff, but not sure. what is the ideal doctype the will work well with JQuery? jQuery is irrelevant, the best (and only) DOCTYPE to use on the web is HTML 4.01 strict. You may use others for specific purposes, but they are not suitable for a general web site. The vast majority if web sites using an XHTML DOCTYPE are served as HTML because about 70% of web users are using IE, which does not understand XHTML. URL:http://hixie.ch/advocacy/xhtml -- Rob
[jQuery] flashvars value attribute with flash plugin
Is there any way to encode the value of the flashvars VALUE attribute of the PARAM element with the standard jQuery Flash plugin? Basically I am trying to work something like the following into my jQuery flash code: param name=flashvars value=feed=api://www.flickr.com/? album=17896512589327889 /
[jQuery] Re: jQuery Timers Loop
Thanks for the extra help, Pepperman. Yeah, I haven't perfectly polished off all the code yet. I hardly ever put anything like DIV#arrow but I guess an instance slipped through. I do try to not use IDs if an element name will do but am fine with using IDs when necessary.
[jQuery] jQuery Timers Loop
I've used the jQuery Timers plugin (http://plugins.jquery.com/project/ timers) to animate through my client's five steps on this page: http://www.cmzmedia.com/irarollover/ but is there a way to get it to continuously loop through the animation? The documentation page (http://jquery.offput.ca/timers/) doesn't seem to cover anything like that. Thanks in advance.
[jQuery] Re: jQuery Timers Loop
Hmm, I think that might work. Now just have to tinker w/ it a bit to get the arrow to animate as well. Thanks, Pepperman! On May 25, 7:57 pm, Pepperman chorno...@gmail.com wrote: I had to do something like this recently. Try this: ol id=myol liWe establish, through the Secretary of State, a Corporation in any state you choose as your home base of operations./li liWe customize a 401k plan that can invest in your corporate stock and traditional investments./li liOur experts help you roll over your retirement funds into the 401k plan that you control./li liThe 401k makes a direct purchase of your corporate stock, infusing your corporation with cash./li liWe help you set up a Corporate Bank Account with checkbook control of your corporate funds./li /ol script type=text/javascript $(#myol).everyTime(4000, myrotate, function() { var $this = $(this), hlen = $this.find(li).length; $this.data(currentshow, $this.data(currentshow) || 0); $this.find(li).removeClass(on) .eq($this.data(currentshow)) .addClass(on); $this.data(currentshow, $this.data(currentshow) === hlen ? 0 : $this.data(currentshow) + 1);}); /script On May 25, 5:28 pm, MauiMan2 cmzieba...@gmail.com wrote: I've used the jQuery Timers plugin (http://plugins.jquery.com/project/ timers) to animate through my client's five steps on this page:http://www.cmzmedia.com/irarollover/butis there a way to get it to continuously loop through the animation? The documentation page (http://jquery.offput.ca/timers/) doesn't seem to cover anything like that. Thanks in advance.
[jQuery] Re: Lavalamp Trouble
Here's the jQuery Lava Lamp page: http://www.gmarwaha.com/blog/2007/08/23/lavalamp-for-jquery-lovers/ As you can see in the example at the top a liquidy grayish rounded corner background image follows the cursor around to whatever link is currently being hovered over. In my implementation though the interactive effect is not working. I am going to keep troubleshooting it on my own but if somebody could locate the problem before I do then that would be a big help. Thanks. On Apr 23, 1:37 am, glyn3332 glyn.moo...@googlemail.com wrote: What's it meant to be doing? On Apr 23, 6:36 am, MauiMan2 cmzieba...@gmail.com wrote: Can anybody find quicker than I can why it’s not working on my blog? http://ocmexfood.blogspot.com/(theorange nav near the top) I’m pretty sure I have all the elements in correctly. Thanks.
[jQuery] Append before closing tag
Does jQuery provide a way to append an element immediately before the closing tag of another element? For instance, say I have the following paragraph element: pLorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean adipiscing gravida leo. In hac habitasse platea dictumst. Phasellus auctor odio id ligula. Morbi in risus et nulla vehicula blandit. Quisque varius, enim eget interdum cursus, risus est auctor nisi, vel laoreet magna orci ac neque./p But that I would like to add a link in right before the end to obtain this: pLorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean adipiscing gravida leo. In hac habitasse platea dictumst. Phasellus auctor odio id ligula. Morbi in risus et nulla vehicula blandit. Quisque varius, enim eget interdum cursus, risus est auctor nisi, vel laoreet magna orci ac neque.a href=http://www.hotbot.com;Remember Me?/a/p Is there a way to do that? If not, is it possible to make a plugin for that?
[jQuery] Re: Append before closing tag
Thanks.
[jQuery] Re: Works in IE7 but not IE6
Well, my jQuery tests didn't work and I thought they were very simple but I can try an alert test.
[jQuery] Re: Works in IE7 but not IE6
Okay, the following actually works: jQuery(document).ready(function(){ alert(Thanks for visiting!); }); but I haven't been able to get any other jQuery commands to work, including ones that worked on other sites then got ported over to this current project for test purposes. Going to keep experimenting.
[jQuery] Re: Works in IE7 but not IE6
Have you verified if jQuery is running at all in IE6? For example, create a new page and insert a simple jQuery action that would let you know if it's running (such as an alert message). That's what I have now: a simple jQuery action and as far as IE6 is concerned it is not there at all. Can I save each script file using UTF-8 encoding in Notepad? If not, how do I do it? Along with you I too wish I could show the site this is on but at the moment it's for employees' eyes only.
[jQuery] Re: Works in IE7 but not IE6
Basically I am trying to use jQuery to add classes to certain elements. Works in IE7 and every other browser but not IE6. This an example of a jQuery statement I have in place so far: $(document).ready(function() { $('BODY DIV').addClass('mainDiv'); }); The CSS has certain styles that apply to anything with the class mainDiv and those styles show up in every browser except for IE6.
[jQuery] Re: Works in IE7 but not IE6
meta http-equiv=Content-Type content=text/html; charset=utf-8 / That's the META tag I have in there now. Should I change it?
[jQuery] Works in IE7 but not IE6
I have a project that is in the staging environment so unfortunately I can't link to it but jQuery works fine in IE7 but has no effect whatsoever on IE6. I don't know what sort of code I could possibly change to get it to also work in IE6. Any suggestions?
[jQuery] Re: [jQuery Sifr Plugin]
I too couldn't get it to work with 1.3.
[jQuery] Re: listnav related - DL
Thanks, Jack. When it is ready I will be ready to implement it. I have no other deadline than that so work at your own pace.
[jQuery] Re: listnav related - DL
So, the presence of the DD is what makes it difficult?
[jQuery] Striping Sometimes Doesn't Work
The following code snippet: $('OL.codeSample LI:even').addClass('even'); is working on one of my sites to zebra striping to list items but is not working on another one even though both have jQuery 1.2.6 in place. The site where it's not working is here: http://developer.cmzmedia.com/?p=115 Any ideas?
[jQuery] Re: Striping Sometimes Doesn't Work
Okay, I'm not a total jQuery newbie but, yeah, I've gotta get this $ and jQuery stuff straight. Part of the problem is the stuff that was already there with the WordPress template I'm using. From what I do know about it I'm not sure that they should've put the noConflict thing at the end of the jQuery 1.2.6 file that was included with the template. Still trying to process this all but you have all definitely got me on the right track... On Feb 19, 6:05 pm, James james.gp@gmail.com wrote: It's defined in the CSS. It's only the $ and jQuery issue. The code: jQuery('OL.codeSample LI:even').addClass(even); works fine. On Feb 19, 4:00 pm, Dave Methvin dave.meth...@gmail.com wrote: Did you define the .even class? I don't see it in Firebug.
[jQuery] Re: listnav related - DL
Yes, you've got the right idea. I have the very rudimentary beginnings of my glossary here: http://www.usmexfood.com/ And the code for it so far: h3Glossary/h3 dl dtBurrito/dt ddA flour tortilla stuffed with beans, meat, cheese and other fillings and folded and wrapped compactly/dd dtHabantilde;ero/dt ddA particularly spicy chili pepper/dd /dl
[jQuery] listnav related - DL
I have a need for the listnav plugin to work for definition lists. http://www.ihwy.com/Labs/jquery-listnav-plugin.aspx Since the plugin breaks the lists up alphabetically it seems like it would make the most sense for definition lists but the Features section only mentions it working for ordered and unordered lists.
[jQuery] Re: listnav related - DL
Basically it's going to be for a glossary. It'll be a food-related one with a lot of terms related to a particular kind of ethnic food and there'll be enough terms (and therefore numerous DT/DD pairs) that breaking it down would be very helpful but at the same time it only needs to be contained within one DL element and it'd be great to be able to use the listnav plugin for this job. I guess I want it to look most like your demo #1 but instead of the list items actually linking to something they would just have their definition definition below them and then the next definition term is after that. I can take care of the styling. Let me know if you need more info. And thanks in advance for any help. BTW, I like that you know that it's okay to capitalize mention of X/ HTML elements when they are not within an XHTML document.
[jQuery] Quick Syntax Error Check
IE7 is telling me the following script has a syntax error and I have tried to find it but haven't located it . . . yet: (function($){ $().ready(function() { // validate the comment form when it is submitted $(#commentForm).validate(); // validate signup form on keyup and submit $(#signupForm).validate({ rules: { email: { required: true, email: true }, }, messages: { email: Please enter a valid email address, } }); }); })(jQuery); I'm going to keep looking but maybe somebody else will be able to find it before me. Firefox doesn't seem to have a problem with it.
[jQuery] Re: Resolve Mootools Conflict
Thanks. On Sep 17, 2:30 am, Richard D. Worth [EMAIL PROTECTED] wrote: The correct place for the jQuery.noConflict() call would be after mootools, after jQuery (which you've got in the right order - mootools first, then jQuery), and before any other javascript code that makes use of either. So after line 533, before line 536. But you also need to fix lines 536 to 540 by either substituting jQuery for the $, or wrapping them in this pattern: (function($){ // code with the jQuery $ can safely go in here })(jQuery); - Richard On Tue, Sep 16, 2008 at 5:21 PM, MauiMan2 [EMAIL PROTECTED] wrote: Just wondering how I can resolve the jQuery/mootools conflict on: http://www.tccnotary.com/contractorform.php I have tried moving around the jQuery.noConflict(); script to different spots within the code but to no avail.
[jQuery] Resolve Mootools Conflict
Just wondering how I can resolve the jQuery/mootools conflict on: http://www.tccnotary.com/contractorform.php I have tried moving around the jQuery.noConflict(); script to different spots within the code but to no avail.
[jQuery] jQuery UI: Radiobutton- und Checkbox-Replacement
I am using the Radiobutton and Checkbox-Replacement plugin (http:// www.protofunc.com/scripts/jquery/checkbox-radiobutton/) on the following page: http://www.tccnotary.com/contractorform.php Can somebody figure out why it's working on the checkboxes but not on the radio buttons? Bonus points to anybody who can help me figure out how to use this while also using the mootools navigation that's supposed to be moving the buttons around . . . and it did work until I added this jQuery function in then a conflict was created that I haven't been able to resolve even though I've tried several different possible solutions.
[jQuery] Re: Turn off elements depending on current URL
Thanks. It seems to be working now.
[jQuery] Turn off elements depending on current URL
I am starting to learn jQuery now and have added a couple effects (table sorter and whatnot) so far to my blog at: http://ocmexfood.blogspot.com/. One thing I want to do with it is to turn off certain page elements if the current URL equals a certain string. For example: I have a number of different entries on Mexican food at Disneyland but sometimes visitors will look at one entry and then leave the blog without finding the information they were looking for and usually it's because they don't click (or know about) the disneyland tag at the bottom of each entry. So yesterday I created the following image: http://www.ocmexfood.com/images/panchitoMessage.gif I put the image in each separate Disneyland entry and linked it to the tag, which all works good, except that once people are in the disneyland tag (http://ocmexfood.blogspot.com/search/label/ disneyland) I don't want them to have to see the image anymore. Not only will it show up about 13 times but it may confuse some visitors, making them think that they are still not on the correct page. So my first attempt at creating a jQuery statement (once I added the jqURL plugin in) was: $.jqURL.url(http://ocmexfood.blogspot.com/search/label/disneyland) { $('IMG[src=http://www.ocmexfood.com/images/ panchitoMessage.gif]').addClass('noDisplay'); } Now that may be laughable or it may be close. I don't really know . . . but it didn't work. What I'm basically trying to get the statement to say is, If the current URL equals 'http:// ocmexfood.blogspot.com/search/label/disneyland' then add the class 'noDisplay' to any instance of the panchitoMessage.gif image occurring on the page. Of course, the class 'noDisplay' in the style sheet is set to display: none. UPDATE: The person I had e-mailed this problem to responded with this script: if ( $.jqURL.url() == http://ocmexfood.blogspot.com/search/label/ disneyland ) { $('IMG[src=http://www.ocmexfood.com/images/ panchitoMessage.gif]').addClass('noDisplay'); } Which *does* seem like it should work . . . but it doesn't. After writing back to tell him it didn't work I never heard from him again. Any insights would be greatly appreciated. Thanks!