ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > RocketCake
forum topic indicator keyboard shortcut to change div id
person icon
g4hdu
Registered User
Quote
2025-10-12 12:30:42

As it says, please can we have a keyboard shortcut to change div id in html code - "change element id" on the selected object

with several hundred divs and images it is very time consuming.

Thanks

person icon
niko
Moderator
Quote
2025-10-13 07:35:22

Yes, that could be added - but I'm curious - what are you using that for? Aren't the automatically set Ids not ok for you?

person icon
g4hdu
Registered User
Quote
2025-10-13 13:44:17

wrote:
Yes, that could be added - but I'm curious - what are you using that for? Aren't the automatically set Ids not ok for you?


While the automatically generated div IDs are very good I like to have all my IDs on a page or group of pages all structured the same way.

For example on my links page I will have
div id="link_head_text"
div id="link_head_heading"
div id="link_head_next_link"
div id="link_head_prev_link"
img id="link_img_next"
img id="link_img_prev"

plus then all the content divs too

I find that it makes javascript and jquery use easier to track and debug. So many websites fail on simple things like trailing whitespace causing validation errors when a simple trim would enhance the user's experience. Thats why I use alot of js and backend validation in conjunction.

Thank you for considering the suggestion

Perhaps alt+h to pop open the html dialogue on the current element. thus saving me thousands of mouse clicks .

person icon
g4hdu
Registered User
Quote
2025-10-15 07:59:05

I've discovered autohotkey which I'm hoping, when I've learned its scripting, to use to automate a number of bulk operations in RC as well as other programs like visual studio code, Arduino ide etc.

https://www.autohotkey.com/

person icon
peter_g
Registered User
Quote
2025-10-20 18:17:20

wrote:
Yes, that could be added - but I'm curious - what are you using that for? Aren't the automatically set Ids not ok for you?


From my side: Yes, it's ok, but just ugly emoji icon_grin. container_435181b3? Just doesn't look professional.
If it would at least start with example 001 and then just get bigger (002, 003, ...).


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |