Scroller bug?

Q&A about the latest versions
Post Reply
User avatar
George Palov
Posts: 59
Joined: Mon Jun 13, 2011 11:18 pm
Location: Sofia, Bulgaria
Contact:

Tue Mar 05, 2013 9:18 pm

Hi Thomas, Hopki!
I have this problem:

http://www.geopalstudio.com/work/palov/f.html

the intro text is OK, I made it so there is no scroller, but if it was just few sentences bellow the line the scroller was OK!
Now if you click next on the red hotspot, you will see a text field with scroller. When you try to move it it bugs and goes outside the text field on all browsers I have under windows. Any comment? It bugs in text fields with long texts.
Thanks a lot!
Best, George

p.s. any hints on better aligning images in text fields?! Now text goes around the image, not under it... couldn't solve that either.
User avatar
George Palov
Posts: 59
Joined: Mon Jun 13, 2011 11:18 pm
Location: Sofia, Bulgaria
Contact:

Wed Mar 06, 2013 6:04 pm

Am I the only one having this problem :?:
User avatar
Hopki
Gnome
Posts: 10623
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Wed Mar 06, 2013 7:12 pm

Hi,
What code are you using to embed the images?
It may be this that is causing the problem.
Regards,
Hopki
Hopki
Garden Gnome Software Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
George Palov
Posts: 59
Joined: Mon Jun 13, 2011 11:18 pm
Location: Sofia, Bulgaria
Contact:

Wed Mar 06, 2013 8:03 pm

Thank you Hopki!

Here is part of the code:

Code: Select all

<b>01.03.2009</b>
I am painting the back side of Stefan Stambolov`s monument, from a window of a café, in the beginning of the Samovodska Charshia street in Veliko Tarnovo.<br>
<img src="http://www.geopalstudio.com/p1.jpg" /><br><br>

Later on, somewhere on Tsarevets hill, in the same city, I am painting a door.
Though using breaks doesn't work so well... That's why I asked if there is some "good" code that works for embedding photos in text fields the right and pretty way...
I want photo and bellow it text, not around it :roll:
I couldn't find the answer in the Wiki
User avatar
Hopki
Gnome
Posts: 10623
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Mon Mar 11, 2013 9:13 pm

Hi George,
Been busy, I will have a look at this tomorrow.
Regards,
Hopki
Hopki
Garden Gnome Software Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
George Palov
Posts: 59
Joined: Mon Jun 13, 2011 11:18 pm
Location: Sofia, Bulgaria
Contact:

Mon Mar 11, 2013 10:28 pm

Thank you very much Hopki, appreciate it! It's just strange... about long texts with images giving this "bug", but might be my "great html skills", just have to figure this out with your help. 3rd party scroller is not flexible at all.
Also I bet you're a busy man!
Best, G
User avatar
Hopki
Gnome
Posts: 10623
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Tue Mar 12, 2013 2:00 pm

Hi G,
Ok had a good look into this and its the img src code is braking the Flash output. Just looks like Flash does not want to play ball sorry.
Looks ok in the HTML5 output if thats any help?

The only way to do this is use a rectangle and position images and text, please see attached example.
This also uses the change relative position action for scrolling the content up and down.

I am using external loaders and text boxes, so you can dynamically change the content using a set text action to change the file path for the external loaders and set new text for the two text boxes. Use the two buttons bottom right of the window to see this in action.

This also lends itself for making quite a fancy menu as the external loaders can have a open next panorama action.
You could also make several versions, then you would only have to copy and paste the required version in whichever project you are working on.

I have use the external loader 200 x 200 so any image remapped to that size can be used so very simple and quick to modify.

This works in both Flash and HTML5.
You may see similar appearing soon.

Regards,
Hopki
Attachments
text box.zip
(1.48 MiB) Downloaded 147 times
Hopki
Garden Gnome Software Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
George Palov
Posts: 59
Joined: Mon Jun 13, 2011 11:18 pm
Location: Sofia, Bulgaria
Contact:

Tue Mar 12, 2013 4:08 pm

Thank you Hopki for your help, MUCH appreaciated!
I see what you've done, very clever workaround. :idea: Yes, seems flash doesn't behave well with textfields + images. I have a flash gallery which also had similar problem, quote from the other forum:
flash textfields dont really support anything else than basic text formatting and the <img> tag anyway ... Flash textfields simply align text to the right of an image, and will only flow it below if the image takes full width. There is a workaround to fix this however, by using <textformat>.
Code
<textformat leading="100"><img src="src" width="50" height="100" /></textformat><br/>

In the code above, wrap the <img> inside a textformat, and make sure the leading attribute is set to the same height as the image. Also make sure you have a <br/> afterwards for the new line. This should make sure the text appears below the image.
I tried that and it didn't work again, so you've found maybe the only working solution. Thank you again!
Best, G
RobM
Posts: 249
Joined: Sat Apr 16, 2011 12:51 pm

Tue Mar 12, 2013 6:56 pm

I had a look at what Martin made. Couldn't quite figure it out.

Basically it's a box that can be used as a popup that can contain a mix of images and text that gave been pasted into the field in html code?
What I'm trying to figure out is there a way of updating that text and image info without having to re-render the pano?

Right now I can drop popup photos into the online project folder and the photos are picked up automatically each time the panorama is run. Being able to update copy as well as photos in a scrollable text field would be marvellous.
User avatar
George Palov
Posts: 59
Joined: Mon Jun 13, 2011 11:18 pm
Location: Sofia, Bulgaria
Contact:

Tue Mar 12, 2013 7:33 pm

Rob, Martin has used external image loader box which picks an image with the given name. Thus the image can be replaced and will appear on the pano without rerender.
About the text- I wonder the same, can someone link a txt file inside a textfield or another "loading filed"...
User avatar
Hopki
Gnome
Posts: 10623
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Tue Mar 12, 2013 8:44 pm

Sorry chaps sadly no,
however nothing stopping you using text made in Photoshop and exported as an image. This means you can use any font you want too.
Hopki
Hopki
Garden Gnome Software Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
User avatar
George Palov
Posts: 59
Joined: Mon Jun 13, 2011 11:18 pm
Location: Sofia, Bulgaria
Contact:

Tue Mar 12, 2013 8:45 pm

I also thought about that, thank you :)
User avatar
George Palov
Posts: 59
Joined: Mon Jun 13, 2011 11:18 pm
Location: Sofia, Bulgaria
Contact:

Fri Mar 15, 2013 6:08 pm

This is what came out:

http://panomagic.eu/en/2114/circles/

Thanks again Hopki. I might someday put arrows and stuff, but for now it's ok like that. This "demo" skin should go to the skin section as "advanced scroller" :)
Best. G
Post Reply