On Monday, June 23, 2014 2:15:12 PM UTC-7, Gideon George wrote:
>
> Please I need a help, this is the first time I am posting here and I am in 
> my journey to be the Africa's number one Web2py enthusiast. I am currently 
> developing my first web2py application and I have less than a week to 
> complete it and head over to a more complex application by next week.
>
> My question to the community is, I want to use two pictures rotating 
> display as my background image in the index. please help me with suggestion 
> on how to go about it.
> Thank you.
> NB: Example of a similar situation is the index of twitter(i.e before user 
> logged in)
>


I don't see a background helper in the chapter on views, so I'd probably 
play around with the STYLE helper to set the background image.  That should 
work easily for 1 image, and for changing images I see 2 options:  

1) use a reload timer to refresh the page and load the 2nd image at that 
time.  Details TBD, and that might not be a smooth transition.

2) use javascript and a timer to rewrite the DOM entry for the background 
image.  Again, details TBD.

Good luck ... sorry this answer is so late.

 /dps

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to