mgsisk / webcomic

Comic publishing power for the web. Turn your WordPress-powered site into a comic publishing platform with Webcomic.
http://wordpress.org/plugins/webcomic
GNU General Public License v2.0
110 stars 29 forks source link

Toolip rollover for comic Archive #237

Closed ashikai closed 6 years ago

ashikai commented 9 years ago

Hullo again!

Webcomic is working really awesome so far for all the comic sites I've been building. However, there's a feature I want to build, and I know how to do it outside of a framework, but I'm not too sure how to make it work through Webcomic.

This is what I want to do: tolltip Basically, when you hover over a storyline cover image, you get a tooltip that pulls the storyline description and adds in a link to the start of the storyline. The problem is that I'm not sure how to pull the storyline description out of the archive loop and where I can add the css class to style it.

I'm assuming I won't be able to use the webcomic_list_storylines call, and would have to build a custom loop... unless there's a way to adjust the predefined parameters that are already provided? I'm not sure. ^^a

The website I'm using to build this feature is here http://www.magicalhow.com.

Current Archive code looks a bit like this: <?php webcomic_list_storylines( array( 'collection' => 'webcomic1', 'hide_empty' => true, 'target' => 'first', 'ordered' => false, 'show_image' => true ) ); ?>

Thank you so much!