Hi everyone :)
Does someone know how to load heavy images one after one with javascript?
The thing is that I need to have each image load after the previous one is finished loading. So no timer of any sort must be used.
And I would like to avoid the use of innerHTML because I need to separate...
Hi Guys
I just wanted to know how difficult it is to migrate a website running ver. 2.8.4 to the latest version of Wordpress.
How many hours will it take for an experienced webmaster who has never used Wordpress before?
Thanks a lot :)
Hi,
I would like to remove any occurence of HTML comments and their surrounding HTML tags if they exist.
For example :
<!-- some text here -->
Everything should be removed from <! to -> included.
But at the same time, in
<div id="any-id-here">
<!-- some text here -->
</div>
or in...
Hi,
I use OpenTip ( http://www.opentip.org/ ) which is great for displaying custom tooltips anywhere on a website.
The only trouble I have is that there is a bug that I can't seem to be able to fix on firefox.
What happens is that triggering a tooltip by rollover while the page is still...
Hello,
To my surprise, the validation tool from the W3C says that I shouldn't have a UL list inside a H3 header.
So, how do I do if I want the page content (of course not the whole content) to be inside a H3 tag?
Content can be made of articles that contain lists sometimes.
Any idea?
Thanks :)
Hi,
I have this query :
SELECT
tab_nav.nav_zone_ID, tab_nav.nav_page_ID, tab_nav.nav_name,
tab_nav.nav_link_text_fr AS nav_link_text,
tab_nav.nav_link_tip_fr AS nav_link_tip, tab_nav.nav_link_pic,
tab_nav.nav_link_url_fr AS nav_link_url, tab_nav.nav_link_win,
tab_nav.nav_link_innercode_li...
Hello,
I've created the function below but it doesn't work as expected.
I have two main menus on my page.
One in the header, one in the footer.
Each menu has a submenu that is shown/hidden on rollover on the main menus.
There are no z-index set on these.
For some reason I don't want to use...
Hello :)
I would like to know if there are existing PHP classes/scripts that can retrieve the definition of any word from a remote dictionary database and display it on my own website.
I need one that can work with both French and English.
For example ...
Hi,
I'm wondering how I could make a function that do ceil() on non-decimals like this :
123 becomes 130
12 345 becomes 12 400
146 904 becomes 147 000
Any idea?
Thanks! :)
Hi guys,
Still a newbie with preg/reg functions :(
I'm looking for a way to do a string replacement that replace x with y inside Z, ONLY IF x isn't surrounded by a <a></a> tag. ( ie: <a href="">x</a> )
Thanks a lot!!! :)
Hello :)
In the html/css below, "area-flags" keeps showing above "tip-container" on IE.
There is no problem on Firefox, Safari, Opera, Chrome.
Would someone know what causes the problem?
Thanks :)
<html>
<head>
<style type="text/css">
#temp-clear {
clear: both;
}
#area-top-nav {
}...
Can someone tell me how to get the tag of x?
I always get the "---- is not a function" error :(
After an extensive research it looks like you can get the attribute of something only if you have its Id.
Is that so?
The problem is that I want to get the tag type of something that doesn't have...
Hello,
I'm using this great script ( http://www.isocra.com/2007/07/dragging-and-dropping-table-rows-in-javascript/ ) for dragging/dropping table rows.
But the only limitation is that I can't dynamically create rows anywhere in the table with the cloneNode method (which I absolutely have to...
Hello,
Is it possible to avoid listing all the columns when you use UNION?
I'm looking for a way to use ' * ' ... something that would look like this :
SELECT
*
FROM
my_table
UNION
SELECT
'' as *
FROM
my_table
Thanks! :)
Below is a clumsy (but working) attempt of getting the offsetTop of an element that is repeated many times within the document.
The question is : was there another simpler method, without the need of a loop for instance?
document.onmousemove = function(ev){
if (currenttable &&...
There must be a dumb solution but I'm too tired to find out by myself :
I have this data in the db :
English
French
German
[ ! ] Note the leading line break above "English"
Now, when I display the data in a textarea, the leading line break disappears :(
I know the leading line break is...
Hello :)
Does anyone know a good crossbrowser script that prevents forms from being submitted by hitting enter key?
What I need is a script that makes it unnecessary to add javascript to form elements.
I've used this one but it doesn't seem to work anymore for some unknown reason :
var...
Hello,
Does anyone know where I could find documentation detailing most of the ways the spambots work?
I have designed an anti-spam php code that writes a long numerical string into a textarea hidden by CSS. If the numerical string is replaced by any text, the mail isn't sent.
I assume that...
Hello,
I need to edit my function so that it can
work also when special characters are submitted
on unicode format.
Any idea on how I should do that?
The changes I've done below don't work at all :(
function hd_dir_safe($string) {
$string = strtr($string,
"!#$%&'()*+,_./:;<=>?@[\]^`{|}~"...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.