Homei use portalCalendarGalleryFAQMemberlistSearchUsergroupsRegisterLog in

Share | 

 Background Images

Go down 

Posts : 26
Reputation : 1
Join date : 2012-06-24

PostSubject: Background Images   Fri Jun 29, 2012 9:13 am

How do I script a button to change the background image of a form?

I've tried

[You must be registered and logged in to see this link.]

With GameOver800 being the image name. I've also tried GameOver800.jpg but that does not work.
Back to top Go down
View user profile
Bronze Marketer
Bronze Marketer

Posts : 59
Reputation : 5
Join date : 2012-06-24

PostSubject: Re: Background Images   Fri Jun 29, 2012 9:13 am

Probably easier to plug in a littl bit of javascript here since if I recall correctly C# will reload your page on your to make that change. Here is an example of changing it for a whole page:

<div id="1"><body bg=1.jpg></div>
<input type=button value=whatever onClick="document.GetElementByID( '1' ).innerHTML = '<body bg=2.jpg>';">
Back to top Go down
View user profile
Background Images
Back to top 
Page 1 of 1
 Similar topics
» How to take the screen shot? when i set a kwargs, it is showing error... when i not set kwargs it is coming black color as background
» Background-color:
» Icons Mix background
» Mario Background
» BMP, JPG, PNG, GIF, ICO - verify image property.

Permissions in this forum:You cannot reply to topics in this forum
Money Dreamer Forum :: Programming, Computing and Graphics :: Databases-
Jump to: