Virtual Mechanics: Community Forums and FAQs
Virtual Mechanics: Community Forums and FAQs
Report Suspected Bugs
probably not a bug but something to be fixed|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Honorary Mechanic |
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? |
||
|
|
Guru 'Geezer' Mechanic |
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. |
|||
|
|
Honorary Mechanic |
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" |
|||
|
|
Guru 'Geezer' Mechanic |
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, |
|||
|
|
Honorary Mechanic |
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. |
|||
|
|
Guru 'Geezer' Mechanic |
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). |
|||
|
|
Honorary Mechanic |
alt="" alt="555"> this result doesn't look that normal to me.
but won't be displayed as an alt tag in HTML, but as a title.Correct? |
|||
|
|
Honorary Mechanic |
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. |
|||
|
|
Guru 'Geezer' Mechanic |
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. 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. |
|||
|
|
Honorary Mechanic |
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. |
|||
|
|
Guru 'Geezer' Mechanic |
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. |
|||
|
|
Honorary Mechanic |
ok. i got that too.thank you.
|
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|
Virtual Mechanics: Community Forums and FAQs
Virtual Mechanics: Community Forums and FAQs
Report Suspected Bugs
probably not a bug but something to be fixed
