Thanks a lot feherke but I've used a much more simple solution that seems to work.
The thing is that I was trying to avoid a very large download of images right from the homepage (where the portfolio is located).
So, I simply remove the innerHTML of the inside of the portfolio div on page...
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...
wow :) Thanks jpadie!
Is it possible that a website uses features that work differently from one version to another, thus requiring some code edition/tweeking?
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 :)
Yeah but it's a real pain in the ass when you have lots of fonts and need to use a font that is located right at the bottom of the list. Takes years! That's not what I call productivity.
Thanks but I've done everything I could find on the internet without any success (I have CS2).
I've removed all the *.lst files, deleted all the preferences files, uninstalled and reinstalled Illustrator, reinstalled Adobe Acrobat. Nothing did the job.
It's driving me nut :(
Hi jpadie :)
Unfortunately, maybe I did something wrong but your code doesn't seem to work with nested tags.
So, I started a different approach, with header tags first (because non nested), and from now I will try to find a way to add the deletion of empty divs and spans as well :
//...
Hi jpadie :)
Thanks again for your kind efforts but it looks like I will have to find another method because a regular expression could easily break the html layout. Way too unpredictable for what I'm trying to achieve.
I'm saying this because, when I test your pattern on a whole html page...
Thanks again jpadie, but the last pattern you gave deletes tags that should be left untouched. It seems to delete only the closing tags in that case.
As for the previous pattern, I didn't manage to make it work even with the original code sample, the one with the linebreaks.
The reason why I...
Hi again,
jpadie, that's weird but the pattern you kindly offered doesn't seem to work on my side.
Here is the PHP code (I've splitted the pattern because it breaks the code highlighter on PSpad) :
$pattern = "/(<(span|div|h1|h2|h3|p).*?";
$pattern .= ">[\n ])?<!--.*?-->([\n ]<\/\2>)?/"...
Thanks jpadie :)
I will try your idea asap but is it possible to do the same without specifying the html tag (div|span)? I mean, is it possible to make it work for any html tag?
Thanks again :)
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 JazzFreak :)
Well, there are no javascript errors involved at all ... and the issue occures on other browsers as well, actually.
I'm pretty sure that I only need to make the code run only after the page is fully loaded ... but the code is too complex for my programming level :(
Another...
The whole code if it can help :
/**
** More info at http://www.opentip.org
**
** Copyright (c) 2009, Matthias Loitsch
** Graphics by Tjandra Mayerhold
** This is an upcoda project: http://www.upcoda.com
**
** Permission is hereby granted, free of charge, to any person obtaining a copy...
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 KarveR :)
I have these below.
Basically I have only one index per table, the table ID.
Thanks for trying to help !
TABLE Non_unique Key_name Seq_in_index Column_name COLLATION Cardinality Sub_part Packed NULL Index_type COMMENT
--------- ---------- --------...
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.