Javascript?

User 460865 Photo


Registered User
15 posts

Is there anyway - directly - to put an ID on something that is being created as a button (buttonized, whatever)? I'm coding a page and while I love VSD, I would like to be able do that, directly place ID's on objects so I can script directly to them.

Any ideas?

P.S. It would also be nice if the HTML editor (Edit HTML) window was sizable and had bigger fonts.
User 187934 Photo


Senior Advisor
20,188 posts
Online Now

Hi Audiocave,
If you look at the source code that VSD generates, each element has it's own class.
Example:
<div class="Object4060">

You can then target those classes with your scripts just like ID's.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2147626 Photo


Ambassador
2,958 posts

Audiocave wrote:


P.S. It would also be nice if the HTML editor (Edit HTML) window was sizable and had bigger fonts.


There is! Go to Tools/Preferences/Modify - Highlighting

From there you can adjust the font and size settings that are displayed as seen in the pic below.

http://gunsmoke.me/cloud/graphics/htmled1.png
Graphics for the web, email, blogs and more!
-------------------------------------
https://sadduck.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.