You could do that with asp. (vbscript or jscript)
Or add an attribute from the image into the image tag as a class.

Cheers



Von: Heather Napoleone
Gesendet: Dienstag, 13. Februar 2018 23:02
An: RedDot CMS Users
Betreff: Preexecute JQuery

I was wondering if I can preexecute a jquery function before my page publishes. 
 I want the function to run before it gets publishes.  Putting a preexcute tage 
around it, does not work.

For example I want to add a class to all images that have a width of less than 
200.  I don't want this function to be seen on the published page and just have 
the class on all the images that are less than 200 in width.  
-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reddot-cms-users+unsubscr...@googlegroups.com.
To post to this group, send email to reddot-cms-users@googlegroups.com.
Visit this group at https://groups.google.com/group/reddot-cms-users.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"RedDot CMS Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reddot-cms-users+unsubscr...@googlegroups.com.
To post to this group, send email to reddot-cms-users@googlegroups.com.
Visit this group at https://groups.google.com/group/reddot-cms-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to