Posts
 
Reputation
Joined
Last Seen
Ranked #1K
Strength to Increase Rep
+2
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
5
Posts with Upvotes
2
Upvoting Members
4
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
3 Commented Posts
0 Endorsements
~2K People Reached
About Me

Web Designer, Attorney, Economist

PC Specs
Win8/iOS/Ubuntu
Favorite Forums
Favorite Tags
Member Avatar for tekagami

**Introduction** Lets say you have a website with a mobile version and a desktop version. Pictures can be resized proportinally using css on either version. But not all html tags resize proportionally, for instance: iframes. **Javascript Function** includes: the *id* of the iframe, the *original width* and *original height* See …

Member Avatar for Hicaro_1
4
859
Member Avatar for tekagami

Sometimes a css file wont load because of a slow connection or a conflict between scripts (or just any other reason). This specially problematic on mobile websites (looking at you IOS) where many standards are applied. So this little script will add a link tag to the head tag and …

Member Avatar for tekagami
0
256
Member Avatar for tekagami

1) onkeyup send textarea values to script 2) converts textarea value to array 3) loops thru the array 4) uses regex to check if its an email address 5) changes inner html of recipient div

Member Avatar for LastMitch
1
369
Member Avatar for mallows.yum

Your problem is syntaxis try adding the grave accent quote to tablenames and column names. $strSQL = "SELECT * FROM `employee` WHERE `projmgr` = '$UserName' AND `projname` = '"$_POST["projname"]"' "; I would also place the $_POST variable in a regular variable to avoid using extra quotes: $projname=$_POST["projname"]; $strSQL = "SELECT …

Member Avatar for Eng. Hadi
0
470
Member Avatar for Siberian

1. [BrowserShots](http://browsershots.org/) 2. [IETester](http://www.my-debugbar.com/wiki/IETester/HomePage)

Member Avatar for tekagami
0
69
Member Avatar for essential

[code]<script type="text/javascript"> function switchclass(obj){ if (obj.className == 'small'){ obj.className = "big"; } else if (obj.className == 'big'){ obj.className = "small"; } } </script> <style> .small { width: 40px; } .big { width: 100%; } </style> <img src="/picture.jpg" class="small" onclick="switchclass(this);"> <img src="/picture.jpg" class="small" onclick="switchclass(this);"> [/code] css is up to you

Member Avatar for tekagami
0
245