Forum: JavaScript / DHTML / AJAX Nov 22nd, 2008 |
| Replies: 5 Views: 1,823 I don't know about limiting the paper size.
However, removing the header and footer from the printed document can be done with some CSS:
Add this to your <head>:
<style media="print"... |
Forum: JavaScript / DHTML / AJAX Nov 2nd, 2008 |
| Replies: 1 Views: 889 Try this:
http://www.php.net/exif_read_data |
Forum: JavaScript / DHTML / AJAX Oct 31st, 2008 |
| Replies: 2 Views: 808 When I try to access these specific files directly:
SpryAssets/SpryTabbedPanels.js
SpryAssets/SpryTabbedPanels.css
I get The system cannot find the file specified.. So maybe you have not... |
Forum: JavaScript / DHTML / AJAX Oct 22nd, 2008 |
| Replies: 11 Views: 1,557 Apart from 1 error that I have now corrected, this code seems fine.
<script type="text/javascript">
if ((window.location.toLowerCase().substr(0, 32) == 'http://geekpolice.forumotion.com') ||... |
Forum: JavaScript / DHTML / AJAX Oct 21st, 2008 |
| Replies: 2 Views: 920 I wouldn't think so. This should be fairly easy for a competent programmer. |
Forum: JavaScript / DHTML / AJAX Oct 21st, 2008 |
| Replies: 11 Views: 1,557 No that code is not correct.
<script type="text/javascript">if (window.location == 'http://geekpolice.forumotion.com'){window.location = 'http://geekpolice.net/';}</script>
is better.
The... |
Forum: JavaScript / DHTML / AJAX Oct 21st, 2008 |
| Replies: 11 Views: 1,557 Still 1 line.
if (window.location == url1){window.location = url2;}
Something like this is better off done server-side, imho, to save some precious bandwidth. |
Forum: JavaScript / DHTML / AJAX Oct 21st, 2008 |
| Replies: 11 Views: 1,557 Add this to the page that URL1 points to:
window.location = url2; //the url you want to redirect to. |
Forum: JavaScript / DHTML / AJAX Oct 19th, 2008 |
| Replies: 1 Views: 1,999 Javascript uses a function called setTimeout that's used to call a function after a specific number of seconds. Knowing this, you can set up the scenario like this:
var time_held = 0; //these... |
Forum: JavaScript / DHTML / AJAX Oct 10th, 2008 |
| Replies: 1 Views: 1,223 Try:
var d = "" + vYear + vMonth + "";
Please use code tags. |
Forum: JavaScript / DHTML / AJAX Oct 5th, 2008 |
| Replies: 2 Views: 1,055 Assuming the WAMP in Wamp server stands for Windows Apache MySQL and PHP, then no, you need not install anything else.
Just verify that the PHP works if you haven't already (because you'll be... |
Forum: JavaScript / DHTML / AJAX Jul 6th, 2008 |
| Replies: 2 Views: 878 Instead of using insertAfter(), I set the top and left dimensions manually, so the div now appears in an area where the problem I pointed out doesn't apply anymore.
Sorry, I was feeling a bit lazy. |
Forum: JavaScript / DHTML / AJAX Jul 6th, 2008 |
| Replies: 2 Views: 878 Take a look at this page: http://tejerodgers.com/ and type four or more characters in the search box on the right.
My problem is the div box that pops up. I'm only getting the behavior I want with... |
Forum: JavaScript / DHTML / AJAX Apr 24th, 2008 |
| Replies: 4 Views: 2,928 Not exactly what I was looking for, but i see what you mean. Is there a way i can pop up one of those when the user presses a select, but stop the select from dropping down? Or hise the drop down it... |
Forum: JavaScript / DHTML / AJAX Apr 24th, 2008 |
| Replies: 4 Views: 2,928 |
Forum: JavaScript / DHTML / AJAX Apr 24th, 2008 |
| Replies: 4 Views: 2,928 Hi.
I want to have a drop down list that display's images instead of text when it's active, but returns to text once the user selects it. I was wondering if someone more experienced in the DOM... |
Forum: JavaScript / DHTML / AJAX Dec 9th, 2007 |
| Replies: 1 Views: 11,568 Hey. I'm looking for a solution that will create, fill and display a container in javascript directly beneath a specific element (no whitespace, margins w.e) |
Forum: JavaScript / DHTML / AJAX Dec 6th, 2007 |
| Replies: 3 Views: 1,503 I'm afraid you can't do that. That is why many people use flash for embedded games and applications. What you need to do is re-write that application/game for a web platform. Some notable web... |
Forum: JavaScript / DHTML / AJAX Dec 6th, 2007 |
| Replies: 2 Views: 1,608 This can be done entirely in server side code, actually, javascript isn't exactly suited for this unless you want some sort of AJAX functionality. Why don't you tell me which server-side language you... |