phdsg
Forum Replies Created
Viewing 2 replies - 1 through 2 (of 2 total)
-
Forum: Plugins
In reply to: [News Announcement Scroll] Redirect Link Styleps:
in the code for the ones who would try, in the mouseover/out parameters I replaced the ‘ character by & # 0 3 9 ;
Code has been interpreted in the previous post…
Philippe
- This reply was modified 9 years, 1 month ago by phdsg.
- This reply was modified 9 years, 1 month ago by phdsg.
- This reply was modified 9 years, 1 month ago by phdsg.
- This reply was modified 9 years, 1 month ago by phdsg.
- This reply was modified 9 years, 1 month ago by phdsg.
- This reply was modified 9 years, 1 month ago by phdsg.
Forum: Plugins
In reply to: [News Announcement Scroll] Redirect Link StyleHi,
to continue with my previous post, I had partial success changing php code in gAnnounce.php with:
- text-decoration: none
- onMouseOver / onMouseOut paramaters – the oldfashion way 🙂
see this example:
if ( ! empty( $data ) ) { foreach ( $data as $data ) { if( ! empty( $data->gnews_redirect_link ) ) { $data->gNews_text = '<a href="'.$data->gnews_redirect_link.'" style="color:inherit;text-decoration:none;font-weight:inherit" onMouseOver="this.style.color='#b8a279'" onMouseOut="this.style.color='#8C6900'" target="_blank">'.$data->gNews_text.'</a>'; }Don’t know if it is really a good idea to use this in production.
Would be nice to get such kind of options in the setting of the widget.Let me know if you have an idea about it.
Thanks in advance for support.Philippe
Viewing 2 replies - 1 through 2 (of 2 total)