Search found 6 matches

by busin3ss
Tue Feb 06, 2007 11:29 pm
Forum: Javascript
Topic: Problem with scrollHeight and clientHeight
Replies: 2
Views: 596

superdezign wrote:

Code: Select all

document.documentElement?document.documentElement.scrollTop:document.body.scrollTop;
Thanks a lot... I tried it but it didn't worked either....

Any other suggestion?
by busin3ss
Tue Feb 06, 2007 8:03 pm
Forum: Javascript
Topic: Problem with scrollHeight and clientHeight
Replies: 2
Views: 596

Problem with scrollHeight and clientHeight

Hi! I'm have a .js file with the following code: var doc = document; omg_scroll = doc.body.scrollHeight; omg_client = doc.body.clientHeight; calculation = Math.round(omg_client / omg_scroll); document.write(calculation); And I include it in an html file <script src="javascript.js"></script...
by busin3ss
Mon Sep 25, 2006 5:48 pm
Forum: Regex
Topic: preg_match and regex - Help please!
Replies: 11
Views: 7395

I already have a script that uses their API, and another one that uses MagPie RSS... But I want to do it with regex and preg_match this time, can you please put back the code that was already posted

Thanks in advanced!
by busin3ss
Mon Sep 25, 2006 5:44 pm
Forum: Regex
Topic: preg_match and regex - Help please!
Replies: 11
Views: 7395

Ehmm... Nope... I just want to put in the sidebar of my blog my flickr images, but I'm trying to do it with my own code
by busin3ss
Mon Sep 25, 2006 5:39 pm
Forum: Regex
Topic: preg_match and regex - Help please!
Replies: 11
Views: 7395

Thanks! Just a quick question, and if I just want to match just the url, not the whole tag?

Thanks in advanced!
by busin3ss
Mon Sep 25, 2006 5:05 pm
Forum: Regex
Topic: preg_match and regex - Help please!
Replies: 11
Views: 7395

preg_match and regex - Help please!

Hey! I have this issue... And it's driving me nuts! Everything I've tried doesn't work! I want to preg_match from this line: <media:content url="http://static.flickr.com/87/252318706_4640fb66de_o.jpg" type="image/jpeg" height="520" width="426"/> The url: http:...