Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter zozopelli

    (@zozopelli)

    Problem solved.

    1. used title=” ” to pass html link.
    2. hover displayed ugly title with html link. Added mouseover=”this.title= to display pretty title.
    3. mouseover stripped out html link. Added onclick=”this.title= to add back in html link.

    <a href="<?php echo wp_get_attachment_url($thumbID); ?>" rel="gallery" 
    
    onmouseover="this.title='<?php the_title(); ?>'" 
    
    onclick="this.title='<a href=&quot;<?php echo get_permalink(); ?>&quot;><?php the_title(); ?></a&gt'" 
    
    title="<a href=&quot;<?php echo get_permalink(); ?>&quot;><?php the_title(); ?></a&gt">
Viewing 1 replies (of 1 total)