I'd like to use DD_belatedPNG for a project, but I'm not allowed to edit the markup to add the following conditional comment that is required for the script to function:
<!--[if IE 6]>
<script src="DD_belatedPNG.js"></script>
<script>
/* EXAMPLE */
DD_belatedPNG.fix('.png_bg');
/* string argument can be any CSS selector */
/* ....
I am trying to customize a photo gallery in Squarespace. A test gallery can be found here - http://dzrtgrls.squarespace.com/gallery/test-2/4011897 . What I would like is to have the next or previous images load so that the prev - / + next navigation is at the top of the browser window. So it seems I need to somehow append each url wi...
I'd like to know if I can load an external JS dynamically based on some condition, for example:
$(window).load(function () {
if($.browser.msie && $.browser.version=="6.0") {
// load ie.js
// do stuff using ie.js
}
});
...
Anyone know how to autofocus on the CKEDITOR text area on page load?
Currently the user has to click in the text area before they can start typing. Like Google, I'd like the page to load and the user can immediately start typing w/o having to click the text area.
Here is the current code that initiated CKEDITOR
<script type="text/jav...
Is there a reliable, framework independent way of determining the physical dimensions of a <img src='xyz.jpg'> resized on the client side?
...
Hi!
I have this jsbin http://jsbin.com/ehidi. I wanted to change the data attribute and param[name="movie"] value attribute. It seems to work on Firefox but not on Google chrome or Safari (webkit?).
Thanks!
...
How to assign a value from JavaScript to Java variable in the JSP page? Is it possible to do this?
The following is the javascript function:
function loadGroupMembers(beanArrayVal){
document.getElementById("beanVal").value=beanArrayVal;
------------I have mentioned my requirement below --------------
%%%%%%%%%%%%%%%
in...
So the situation is for comments on a blog in progress, each commenter will have the ability to reply to any comment. To do this, I have a link that, when clicked, will reveal (with jQuery) a special reply form right there as opposed to the normal one at the bottom of the page. So instead of loading a form on every single comment when th...
Ideally I would like a cross browser solution.
Thanks!
...
In IE7 only, I'm getting a weird out of memory error when I run my Autocompleter.Local. The content downloaded is around 1 MB in terms, but it's done in the background (in a JSON file).
function create_listeners() {
jQuery('.auto_complete_field').each(function() {
var terms_id = 'terms_' + jQuery(this).attr('id');
jQuery(this).af...
I have a very large list of terms for use in an autocomplete box. I've been mulling over a few different scenarios for how to prune them down, but I haven't come up with anything great yet.
Basically, the structure is very similar to a record label -
An artist has albums An album has songs
Individual songs could be popular, albums are...
Hi Folks
i have a page with swf flash flash with width 300x250
<div id="flashswf"> ...some flash </div>
<div id="maxme">full screen</div>
i have a link called full screen and i need to maximize the flashswf div to fit the current browser maximum height and width
is this possible using jquery ? any ideas plz
...
i really dont understand javascript.
in php i can do like this:
$tags_array = preg_replace('/"/', '', $tags_array);
to remove quotes. how do i write it in javscript?
...
Hi,
I have an iFrame with an external website. I know about the same domain rule, so I am trying to invoke some javascript via the src to the parent. Currently I have:
<iframe id="my_frame" src="http://other.com"></iframe>
and I change the src using javascript as follows:
<iframe id="my_frame" src="javascript:document.write...
Hey everyone,
I was hoping to do the whole degrading gracefully thing without making my form have ugly extra buttons and breaking up my program structure with another layer of indirection. I really doubt that this is possible, but is there an option I am unaware of?
Thanks!
...
Hi there.
I'm looking for a dojo toolkit approach to communicating across iFrames. Something similar to Julien Lecomte's CrossFrame technique shown here http://www.julienlecomte.net/blog/2007/11/31/. His approach uses a YUI library function. Is there anything of the sort in Dojo?
I checked out dojo.io.frame, but that doesn't seem to b...
I want to convert good bunch of url text.
from
CUSTOMER FAQS
HOW wE can HELP
PLANNING YOUR BUDGET
CUSTOMER CASE STUDIES
TENANT DISPUTES
EXIT STRATEGIES
USEFUL dOCUMENTS
USEFUL lINKS
to
customer-faqs
how-we-can-help
planning-your-budget
customer-case-studies
tenant-disputes
exit-strategies
useful-documents
useful-links
Is there any...
I want to get value of input element using javaScript.
I am new to all this Please help me.
...
Hi I wanted to upload images(along with other form details) and preview them, using jsp and servlets. I am able to do the uploading part but could not get, how to preview the images in the frontend.
I am using YUI to implement it. Actually I am trying to reuse an example which is implemented in PHP. I am attaching my Servlet code here....
Hello everyone,
I am trying to find out a solution for implementing themes selector on my website build using PHP.
After logging in a user is presented with the available themes, and the one that is selected get stored in his profile.
But if a user is willing to change the colour of his current theme with his own customized colour, th...