Digital Point Forums
Money Order

Go Back   Digital Point Forums > Design & Development > Programming > JavaScript
Google Analytics
Log In to view
your analytics

Reply
 
Thread Tools
  #1  
Old Jan 18th 2005, 12:16 pm
david_sakh's Avatar
david_sakh david_sakh is offline
of the Nightfall
 
Join Date: Sep 2004
Posts: 1,225
david_sakh is an unknown quantity at this point
check the height of a page with dynamic vertical content

I want to perform a function if the height of the page is over a certain pixel value. Is this possible?
Reply With Quote
  #2  
Old Jan 18th 2005, 12:17 pm
digitalpoint's Avatar
digitalpoint digitalpoint is offline
My cat is on Prozac... really. lol
 
Join Date: Mar 2004
Location: San Diego, California
Posts: 22,359
digitalpoint has a reputation beyond reputedigitalpoint has a reputation beyond reputedigitalpoint has a reputation beyond reputedigitalpoint has a reputation beyond reputedigitalpoint has a reputation beyond reputedigitalpoint has a reputation beyond reputedigitalpoint has a reputation beyond reputedigitalpoint has a reputation beyond reputedigitalpoint has a reputation beyond reputedigitalpoint has a reputation beyond reputedigitalpoint has a reputation beyond repute
Phone Verified
No... PHP generates the output before the code is rendered. Your best option would be something in JavaScript.
__________________
- Shawn
Keyword Tracker now supports Google (once again) as well as Bing (new) and Yahoo
Please do not PM, IM or email me for product or tool support (they will go unread/ignored), and don't "friend" me unless we are really friends.
Reply With Quote
  #3  
Old Jan 18th 2005, 12:18 pm
T0PS3O's Avatar
T0PS3O T0PS3O is offline
Feel Good PLC
 
Join Date: Mar 2004
Location: 0101010101001011
Posts: 13,221
T0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond reputeT0PS3O has a reputation beyond repute
Not with PHP. Javascript can get at least the screen resolution as well as the current browser window resolution. Get those values into PHP and take it from there.

Not a JS wizz so can't help further than this...
__________________
Try:
Sell Your Ad Space - Thousands Of Visitors Want To Buy Your Ad Space
Global Internet Index Directory <- Check it out! ->
Reply With Quote
  #4  
Old Jan 18th 2005, 12:21 pm
david_sakh's Avatar
david_sakh david_sakh is offline
of the Nightfall
 
Join Date: Sep 2004
Posts: 1,225
david_sakh is an unknown quantity at this point
Quote:
Originally Posted by T0PS3O
Not with PHP. Javascript can get at least the screen resolution as well as the current browser window resolution. Get those values into PHP and take it from there.

Not a JS wizz so can't help further than this...
I'll do some javascript searches, but I haven't done much with it before, other than look at scripts others have made, but this doesn't sound all that difficult. If you want to move this topic shawn, i'll understand.
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
The Importance of Fresh Content GuyFromChicago Search Engine Optimization 40 Sep 29th 2007 7:46 am
Google Page Rank on Content UtahSaint Google 14 Jan 29th 2005 6:19 pm
How much would you pay per page of content? Ajeet General Business 14 Oct 10th 2004 12:06 pm
Dynamic URLs and "Duplicate" Content Such Great Heights Search Engine Optimization 4 Oct 9th 2004 1:16 am
Different internal links to the same page: duplicate content? sarahk Search Engine Optimization 3 Jul 27th 2004 4:29 pm


All times are GMT -8. The time now is 9:25 pm.