I want to get img1.jpg with the class displayer to be before the images with class hider so that they appear in the correct order. any idea how I can do that with CSS? I've seen something about using display:block etc but I couldn't get it working. Or is this kind of thing better to do with JQuery?
I've been asked to apply a change to the background of our website at work. However I need to be able to test it before I put it live and I need to test it on the test site. However if I make a change to css it applies it instantly to live and the test site. This is not good for customers if the background of the website is constantly changing colour and potentially presenting incorrectly.
Is there anyway I can set a piece of css to only apply if jquery has checked the url in the browser and if it matches that of the test url I query it with. Then it will only display the css I've written for the test site?
just wondering if someone can help me write a function?
I have a flash button in my application and I wish to call a javascript function from flash (which I know how to do) that acts in the same way as this html link would if it was clicked by a user.
I've got a website that displays all my products together within a table and the user can then click on the product they want to buy or obtain more info on. This is always displayed in four columns.
However if you have a few pages of products for one category it can be displayed across a few pages. For some reason the content management system I use will display only 1, 2 or columns on the last page if there are less than 4 products on the last page. When this happens you can get the produts displayed with a different width to what I've set within the CSS because the table's with is set to 100%.
When this happens is it possible to set the the width of the table to:
75% if there are 3 columns
50% if there are 2 columns
25% if there is only one column
Or is it possible to keep the width of the table at 100% and just add the extra columns if there are not 4?
The table id="catprods_tbl" and the columns (td) are is set to id="column_main"
I have included the example of the layout when there are only two columns on the last page.
This is a setup for a product listing within a table. I wish to move the <table> with id="item_Tbl" relative in position to the <span> id="tablerelative" so it's positioned either above or below this span.
I'm guessing this may not even need javascript it maybe just a CSS change? But either method is welcome as a response?
I now know how to write remove statment if its to remove one piece of html such as a <hr/>
However in this case I'm trying to write a bit of javascript to remove a <b>TEXT</b> with whatever text inside. And in this case it's only for a line of text that apears in a <td> which has a class:
So I'm adding the value javascript:pageTracker._linkByPost(this) to the onsubmit of the form.
I know I have the code below for replacing a form but when I add the other form to the quotes it errors the javascript. Also how to I specifically make the form I'm replacing to be that particular form?
Hi guys I have a problem with my google ecommerce tracking on my site. The problem is that when a payment is completed my site URL changes from:
www.website.com to website.securetill.com
The problem with that is when I look in my Google Analytics it displays the traffic source for all customer purchases to be from www.website.com because obviously the customer is converting on website.securetill.com and the last site domain they were on is www.website.com
The developers of our ecommerce system say they are unable to help us change this at the moment as they only have one area for providing a secure connection to all their customers. I'm told there may be a fix that can be applied using javascript but I've absolutely no idea how to go about something like this.
Has anyone else got this problem with their site and have they managed to create a work around?
Or does anyone have any ideas for making this work?