Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 6 results for
memorialday
- Page 1
updating photos based on month
Programming
Web Development
10 Years Ago
by david.roun.7_1
…(4): var img=new Image(); img.src="Holiday/HolidayDesktops/
MemorialDay
.jpg"; break; case(5): var img=new Image(); img…
Re: updating photos based on month
Programming
Web Development
10 Years Ago
by paulkd
…", "Holiday/HolidayDesktops/Easter.jpg", "Holiday/HolidayDesktops/
MemorialDay
.jpg", "Holiday/HolidayDesktops/NatFlagDay.jpg", "Holiday…
Re: updating photos based on month
Programming
Web Development
10 Years Ago
by david.roun.7_1
…", "Holiday/HolidayDesktops/Easter.jpg", "Holiday/HolidayDesktops/
MemorialDay
.jpg", "Holiday/HolidayDesktops/NatFlagDay.jpg", "Holiday…
Re: updating photos based on month
Programming
Web Development
10 Years Ago
by JorgeM
Here is another alternative... If you name your pictures from 0-11 (Jan is 0, Dec is 11), then you dont even need the array...Of course this is assuming they are all .jpg files. This also lets you update the picture without having to worry about the name. <img id="pics" /> <script> var m=new Date();…
Re: updating photos based on month
Programming
Web Development
10 Years Ago
by david.roun.7_1
These were great and it works perfectly (at least I'll know next month if I put in the array correctly). Thank you for your help.
Re: updating photos based on month
Programming
Web Development
10 Years Ago
by JorgeM
glad this solved your issue. let us know how it goes...
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC