Image refresh

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Image refresh

laza
Hi!

I'm looking for a suggestion to do the following. I want to display an image that will be composed depending on user selection.
All combinations are too numerous to be prerendered and just referenced in a CSS. So what would be a good way to force
a reload/redisplay of that image?

Thanks,
 Alex

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Image refresh

Lukas Renggli
Does the second part (dynamically generated pictures) of the Seaside Book

  http://book.seaside.st/book/in-action/serving-files/images

help?

Lukas

On 13 October 2011 09:57, Alexander Lazarević <[hidden email]> wrote:

> Hi!
>
> I'm looking for a suggestion to do the following. I want to display an image
> that will be composed depending on user selection.
> All combinations are too numerous to be prerendered and just referenced in a
> CSS. So what would be a good way to force
> a reload/redisplay of that image?
>
> Thanks,
>  Alex
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>



--
Lukas Renggli
www.lukas-renggli.ch
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Image refresh

Nick
In reply to this post by laza
Hi Alex,

Something like:

html image
id: #imageToBeManipulatedId;
url: 'initialPathToImage.png'.

html button
bePush;
script:((html jQuery: #imageToBeManipulatedId) attributeAt: 'src' put: 'pathToNewImage.png');
with: 'Click to change image'.

Nick

On 13 October 2011 08:57, Alexander Lazarević <[hidden email]> wrote:
Hi!

I'm looking for a suggestion to do the following. I want to display an image that will be composed depending on user selection.
All combinations are too numerous to be prerendered and just referenced in a CSS. So what would be a good way to force
a reload/redisplay of that image?

Thanks,
 Alex

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Image refresh

laza
Lukas, Nick,

I will try both and see what works best. Thanks for your suggestions!

Alex

2011/10/13 Nick Ager <[hidden email]>
Hi Alex,

Something like:

html image
id: #imageToBeManipulatedId;
url: 'initialPathToImage.png'.

html button
bePush;
script:((html jQuery: #imageToBeManipulatedId) attributeAt: 'src' put: 'pathToNewImage.png');
with: 'Click to change image'.

Nick

On 13 October <a href="tel:2011%2008" value="+49201108" target="_blank">2011 08:57, Alexander Lazarević <[hidden email]> wrote:
Hi!

I'm looking for a suggestion to do the following. I want to display an image that will be composed depending on user selection.
All combinations are too numerous to be prerendered and just referenced in a CSS. So what would be a good way to force
a reload/redisplay of that image?

Thanks,
 Alex

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Page not rendered correctly on iOs4.3, ok on iOS5

Larry Kellogg
Hello,
  So, I noticed that one of my Seaside pages is not rendered correctly on
iOS4.3 on the iPhone under Safari. The same page renders correctly
under iOS5 and Safari.

  Also, a long list of checkboxes formats correctly on iOS5 with
three checkboxes to row, but as one checkbox per row on iOS4.3.
To be honest, I never designed this page to be displayed on
Safari on the iPhone but I might as well try to make it work.

  Any ideas? I tried reducing the canvas size a little but that
didn't seem to help.

  Thanks,

  Larry
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Page not rendered correctly on iOs4.3, ok on iOS5

Larry Kellogg
Sorry, I forgot to mention that two imageButtons and a text field wind up
half up the page instead of at the bottom. I suppose it is an AP DIV issue with
absolute positioning and the fact that the chockboxes don't get formatted
three per row, as specified...

Larry


On Feb 12, 2012, at 6:28 PM, Lawrence Kellogg wrote:

> Hello,
>  So, I noticed that one of my Seaside pages is not rendered correctly on
> iOS4.3 on the iPhone under Safari. The same page renders correctly
> under iOS5 and Safari.
>
>  Also, a long list of checkboxes formats correctly on iOS5 with
> three checkboxes to row, but as one checkbox per row on iOS4.3.
> To be honest, I never designed this page to be displayed on
> Safari on the iPhone but I might as well try to make it work.
>
>  Any ideas? I tried reducing the canvas size a little but that
> didn't seem to help.
>
>  Thanks,
>
>  Larry
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside