Moderators: Derry, Goldie, Harpo
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Honorary Mechanic
Posted
geometry editor.

In geometry editor, option tab, there is a code field that produces alt"" .
When you try to stick something in it comes out of the "" and html output becomes alt""whatever producing an error.

It happen to catch this thing when i was inserting alt tags on object editor (code field) and checking html. There i realised that there was already an alt tag empty that was coming from geometry editor.

BTW
does it have the same value if i insert images alt tags in there?
 
Posts: 336 | Registered: December 19, 2007Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Geezer' Mechanic
Picture of larryd
Posted Hide Post
quote:
does it have the same value if i insert images alt tags in there?
It looks like it does, with the geo editor alt tag coming after the image's alt tag. I suspect a search engine would only keep the last alt tag it reads for the object.
 
Posts: 5066 | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Honorary Mechanic
Posted Hide Post
OK.
Now how do i stick it inside alt"".

Because anything i put there gives the out pu of alt"" my image description
instead of
alt"my image description"


Eek
 
Posts: 336 | Registered: December 19, 2007Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Geezer' Mechanic
Picture of larryd
Posted Hide Post
I would not count on this staying permanent. It is a bug; the alt tag should not even be appearing.

I notice the extra alt tag only shows up with image objects and only if you enter something in the code field.

Also, if the No CSS option is used, the code field contents is stripped completely from the object. For me, this defeats the purpose of having the code field. If I could add a class or id via the code field, I could include my own CSS for the object.

This message has been edited. Last edited by: larryd,
 
Posts: 5066 | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Honorary Mechanic
Posted Hide Post
my web site.
page: hotel_aeolis_milos_it.html

line 911 you can see what i'm talking about.
When you get the chance.Since seems busy day.
 
Posts: 336 | Registered: December 19, 2007Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Geezer' Mechanic
Picture of larryd
Posted Hide Post
When an image is used without a link, the Title field (Quick Edit/Object Editor Link tab) is placed inside an <img> as an alt tag.

When an image is used as a link, the Title field is placed inside the <a> element as a title tag, and also inside the image as an alt tag. A VM pop-up should be treated the same as a link as far as the title and alt tags are concerned.

It looks like you added the alt tag via the Quick Edit/object Editor Code field rather than using the Title field. So using the Title field should solve your problem.

But to answer your question, if you use the Geometry Editor's Code field and enter:
alt="my text"
it will be output normally. It appears that if SS detects a valid alt tag in the Code field, it will not output an empty alt tag (which it should not be doing). But if you use the Code field to output a 2nd alt tag, then I'm not sure that SS should detect that (just like there is nothing to stop you from entering 2 or 3 or 4 alt tags in the Code field).
 
Posts: 5066 | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Honorary Mechanic
Posted Hide Post
quote:

But to answer your question, if you use the Geometry Editor's Code field and enter:
alt="my text"
it will be output normally.


alt="" alt="555">

this result doesn't look that normal to me.

quote:

So using the Title field should solve your problem.


but won't be displayed as an alt tag in HTML, but as a title.Correct?
 
Posts: 336 | Registered: December 19, 2007Reply With QuoteEdit or Delete MessageReport This Post
Honorary Mechanic
Posted Hide Post
quote:
I suspect a search engine would only keep the last alt tag it reads for the object.


And also following what you said since last alt tag in an image is a empty tag now won't be red by Search engines. Roll Eyes
 
Posts: 336 | Registered: December 19, 2007Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Geezer' Mechanic
Picture of larryd
Posted Hide Post
quote:
alt="" alt="555">
But it is. The first alt="" is because you did not enter anything into the Title field. It is fairly standard for alt="" to be entered into an <img> element when there is no alt tag, so I think SS is correct to do so.
quote:
but won't be displayed as an alt tag in HTML
An alt tag will be used inside the <img> element using the Title field contents whether or not the image is used as a link.
 
Posts: 5066 | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Honorary Mechanic
Posted Hide Post
ok. i got it.

<div id="Oobj760">
<a href="./geometry/Aeolis.hotel.building.jpg" title="hi larry" onclick="return vmpopup('./geometry/Aeolis.hotel.building.jpg','640','427','hi larry','#000000','0');"><img id="Ggeo1721" src="./geometry/obj760geo1721pg73p2.jpg" alt="hi larry"></a>
</div>

This is the output from code window and when there is a pop up with -hi larry- in title field. Hi larry has been repeated 3 times any reasons for that?

Everything normal in an image with no pop up.
 
Posts: 336 | Registered: December 19, 2007Reply With QuoteEdit or Delete MessageReport This Post
Guru 'Geezer' Mechanic
Picture of larryd
Posted Hide Post
quote:
....jpg','640','427','hi larry','#000000'...
Looking at the VM javascript pop-up code, it looks like SS is picking up the Title field contents to use as a page title for the pop-up window.
 
Posts: 5066 | Registered: December 03, 2006Reply With QuoteEdit or Delete MessageReport This Post
Honorary Mechanic
Posted Hide Post
ok. i got that too.thank you.
 
Posts: 336 | Registered: December 19, 2007Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 


™ & © 1998 - 2008, Virtual Mechanics Inc. All rights reserved.