|
Web design and Programming Discuss website creation and other programming topics. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||
|
date
hi,
if i was to put a date code on my page, but over an image how would i do that? |
#2
|
||
|
There are several ways you can do that. Think you can do that with javascript maybe. I know for sure you can do it with php. Do you have a webserver with php support?
__________________
Squad Tag Generator Take the guessing work out of making you squad tag. unavailable for re-design |
#3
|
||
|
Put this into the htaccess file
<Files sig.jpg> ForceType application/x-httpd-php </Files> Edit and save as sig.jpg PHP Code:
Edit the ImageTTF line the first number is font size and the last to are x,y coordinates The color lineis the color of the text, use RGB values, the RGB value must be in your pallette in background.gif |
#4
|
||
|
hugh?
hi,
um, i hv never used php or other coding just html & java/javascript, i had before on my site i set my banner as a bg pic & placed the javascript over it but now i cant rember, heres the site im trying to get it on,: site im trying to get it to go ontop of the banner of the right. |
#5
|
||
|
<table border="0" cellpadding="0" cellspacing="0" width="IMAGE_WIDTH" height="IMAGE_EIGHT">
<tr> <td background="IMAGE_NAME"> Place your code somwhere in here.. </td> </tr> </table>
__________________
04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq |
#6
|
||
|
thnks
thanks
[edit] it has mucked it up, the banner dont show & everything is pushed out of place [/edit]
__________________
Gaming Rig AMD 64 3200+ venice skt 939 Akasa ak-913 Evo 33 Abit an8 fatal1ty nforce 4 ulutra OCZ 1gb pc3200 dual channel Platinum Ledtek geforce 6800ultra 256mb ddr3 Seagate barracuda 160gb Plextor px-716a on-board 5.1 sound Logitech X-530 surround sound Last edited by spinal; 01-16-2004 at 01:11 PM. |
#7
|
||
|
re:
hi, i got it to work with javascript but it sits all centerd, i tryed aligning it but that doesnt work, is there anyway of getting it to go a in a stright line instead of it a in 3 lines? this is wot it looks like at mo, site
|
#8
|
||
|
<td nowrap>
__________________
04' Dodge SRT-4, Mopar Stage 3, 406whp/436wtq |
#9
|
||
|
re:
ok, thank you again
|
#10
|
||
|
re:
hi again,
<td nowrap> works, but now the image doesnt show it stays blank, heres the coding so far: Code:
<td width="1%"><TD background="/images/foot_right2.png" width="172" height="148"> <td nowrap><br><br><br><br><br><br><br><script> /*Current date script credit: JavaScript Kit (www.javascriptkit.com) Over 200+ free scripts here! */ var mydate=new Date() var year=mydate.getYear() if (year < 1000) year+=1900 var day=mydate.getDay() var month=mydate.getMonth() var daym=mydate.getDate() if (daym<10) daym="0"+daym var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday") var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December") document.write("<small><font color='FFFFF' face='Arial'><b>"+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+"</b></font></small>") </script> </font></div></TD></TR> </table> |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
So you want to date my daughter? | Stalker61 | Humor & Jokes | 6 | 10-13-2009 11:43 AM |
IT Date | bigsmellyfart | Humor & Jokes | 3 | 07-02-2006 10:27 PM |
Who would you ask on a date:)? | BADDOG | General Chat | 32 | 12-08-2005 03:53 PM |
kNOW YOUR DATE | bigsmellyfart | Humor & Jokes | 9 | 06-28-2005 03:47 AM |
Date wrong ! | JimDirt | Feedback / Novahq.net Support | 0 | 08-13-2004 01:47 PM |