Nevermind, I figured it out. Seems that jQuery doesn't like:
$("#big").anima te({height: height, width: width, padding: "12px 7px 12px 12px"}, 0);
Apparently, it works better with:
style: 'padding: 12px 7px 12px 12px'
User Profile
Collapse
-
-
jQuery problem in IE
http://wexcode.com/portfolio.php
For some reason, this page doesn't work in IE, but seems to work fine in all other browsers. Can anyone identify why this isn't working in IE? Thanks.
Code:$(function() { $( "#small" ).accessNews(); $(".javascript_css").css("display", "none"); // http://blueonionsoftware.com/blog.aspx?p=4f47563f-69c4-4483-9a98-8c6a425fcf2c
-
-
Okay, so if I have:
Code:$(function(){ var path = location.pathname.substring(1); if ( path ) $('.navbar a[@href$="' + path + '"]').attr('class', 'current'); });
Leave a comment:
-
Setting the class of an object on load in jQuery
I am trying to set the class of a "<li>" based on if the page is loaded with an anchor. For example, if http://www.example.com/index.html#services is loaded, I would like to change the class of li#nav_services to current. (The html would be <li id="nav_service s" class="current" >Services</li> after the change). How would I do this using jQuery? -
-
Cannot access ONE website
I've been trying to get my internet to let me on a website that I have FTP access to so I can continue to manage and edit the files. I can neither access the website via Firefox, IE, Opera, Safari, etc on this computer. I also cannot connect to the FTP, which is on port 21, and must run in passive mode.
I have had one similar case to this about a year ago on this PC, but the problem went away by itself after a few months. Any suggestions... -
metaphysics started a topic jQuery LocalScroll hash problem - unexplained scrolling when page has Scrollbarin JavascriptjQuery LocalScroll hash problem - unexplained scrolling when page has Scrollbar
I am using a jQuery script called LocalScroll, and I have a quick problem that needs fixing. The demo for the script is here: jQuery.LocalScr oll - Regular Demo, and the documentation is here: Ariel Flesler: jQuery.LocalScr oll. The Local Scroll script uses the toScroll and jQuery scripts to function.
I don't really understand what "hash" means, however the author in the documentation specified that if hash is set to true, the... -
I ended up being able to do everything with jquery. All it took was a little time spent searching and a little bit of trial and error. In fact, I found a script that does close to what I want to accomplish, but it has a flaw that I can't seem to figure out how to fix. I read the documentation on how to use the script here: Ariel Flesler: jQuery.LocalScr oll
The author notes that if hash is true, the hash of the clicked link, will appear...Leave a comment:
-
Thanks. Do you think that this task could be easier with Mootools, or am I going to be just as safe using prototype-js?Leave a comment:
-
I am currently working with Prototype JavaScript framework: Easy Ajax and DOM manipulation for dynamic web applications, but I'm not sure that it includes the feature that I would like. If I need to use another library/framework, I'd be happy to use one, if not, it doesn't make much of a difference to me.Leave a comment:
-
How can I make a box with dynamic content slide in?
For a portfolio I am trying to make, I would like to be able to have a couple thumbnails on the page, that, when clicked, cause a box to horizontally slide in above the thumbnails. I am looking to achieve an effect similar to the one found here: Programming Articles - PHP Scripts, Articles, Tutorials - roScripts, with some minor changes.
- Instead of arrows to scroll to the next content, I would like thumbnails to trigger the change
-
-
Thank you for your response.
That helps, but it isn't necessarily the solution I was searching for. It does provide me with some good insight on the topic, though.
Does anyone have a solution that could better solve my problem?Leave a comment:
-
Protecting Sold Scripts
I'm interested in selling themes for certain scripts/Bulletin Boards. I am worried, however, that once sold, I will have no control of who uses my product.
Is there any way that I can sell a script that would not work on boards that I didn't specify they work on, while not making any modifications to the core files of the script the themes are designed for?
I'm not necessarily looking for someone to write me up an... -
Wow, I didn't think that the answer could be so simple. Thank you for your patience.Leave a comment:
-
Thank you, but the page needs to be Transitional. I WISH that I could keep it with Strict DOCTYPE, that'd make it a lot easier....Leave a comment:
-
I would love to agree that neither DOCTYPE will change how your markup is rendered. I am forced to use Transitional DOCTYPE, so I have no choice in that matter. I have sent both of you PMs with a link to the test code....Leave a comment:
-
Switching from Strict to Transitional
I have been coding web pages for a few months now. Recently, I decided to drop tables and pick up using table-less CSS markup, and it has been going pretty well. I began using Strict DOCTYPEs, because I read they were better for CSS. I was about 98% done converting a phpNuke theme into table-less CSS when I realized that the page's DOCTYPE was Transitional. At first I didn't think it would be a problem, just a few changes to close the short tags....
No activity results to display
Show More
Leave a comment: