Author Topic: Seeking permission to reuse some code/an idea ?  (Read 1928 times)

  • Offline Mardoni

  • Posts: 2,636
  • Global Moderator
  • Hero Member
  • On the Sofa, probably ;)
Seeking permission to reuse some code/an idea ?
on: August 23, 2011, 00:11:27 AM
So I'd like to rip off the contact overlay idea that you guys came up with on this forum. I'm going to use the idea on a website I am putting together for my friend's gym.

My plan is to have pictures whose overlays contain link. So as you mouse-over the picture you're presented with a list of associated links.

Does anyone have an issue with me (attempting) to rip the code from the forum?

    • Tekforums.net - It's new and improved!
  • Offline Clock'd 0Ne

  • Clockedtastic
  • Posts: 10,946
  • Administrator
  • Hero Member
Re: Seeking permission to reuse some code/an idea ?
Reply #1 on: August 23, 2011, 00:39:54 AM
Well it's Liam's code really so I'm sure he will say likewise, but its not something you would struggle to come across elsewhere or certainly not a length of code I would think is considerable as copyright, you can generally find scripts for anything of this nature with a quick google. I hardly ever write my own scripts when I know I can quickly tweak a free one from the interwebs. Since you asked nicely he might simply show you how he did it even :)

  • Offline neXus

  • Posts: 8,749
  • Hero Member
Re: Seeking permission to reuse some code/an idea ?
Reply #2 on: August 23, 2011, 02:56:57 AM
It is not like a secret thing.
Not done with any javascript here though, pure css.
:hover ftw.
If you do :hover to elements other then an a though you need a bit of javascript to add a class to target and style with css as well for IE.

    • Tekforums.net - It's new and improved!
  • Offline Clock'd 0Ne

  • Clockedtastic
  • Posts: 10,946
  • Administrator
  • Hero Member
Re: Seeking permission to reuse some code/an idea ?
Reply #3 on: August 23, 2011, 09:23:27 AM
I thought IE supported :hover on other elements since IE7 or something?

  • Offline neXus

  • Posts: 8,749
  • Hero Member
Re: Seeking permission to reuse some code/an idea ?
Reply #4 on: August 23, 2011, 10:04:58 AM
I thought IE supported :hover on other elements since IE7 or something?
    The element occasionally remains in the hover state if the cursor is moved from the element while the mouse button is pressed; the hover state sometimes fails to apply when it should.
    :hover doesn’t match elements with negative z-index property values.
    :hover on elements other than anchors is often slow to react. On large tables this can prove to be almost unusable. A fix is to add position relative (assuming the element is not positioned) to the element being hovered.

In Internet Explorer version 8, the manipulation of elements with negative z-index is buggy when used in conjunction with :hover or :active rules

Also only works when using certain doc types. XHTML Strict only for example is one. Buggy as hell when using HTML5 doctype.

    • Tekforums.net - It's new and improved!
  • Offline Clock'd 0Ne

  • Clockedtastic
  • Posts: 10,946
  • Administrator
  • Hero Member
Re: Seeking permission to reuse some code/an idea ?
Reply #5 on: August 23, 2011, 10:50:38 AM
So it seems I've blissfully managed to avoid all of those scenarios :lol: Actually I don't generally use hover on elements other than a tags anyway, our software applies "hover" classnames to most areas where I need to use hover effects which conveniently skirts this problem.

  • Offline Mardoni

  • Posts: 2,636
  • Global Moderator
  • Hero Member
  • On the Sofa, probably ;)
Re: Seeking permission to reuse some code/an idea ?
Reply #6 on: August 23, 2011, 16:03:43 PM
Cheers neXus (and Clock'd). I thought it'd be ok but it's always polite to ask before ripping off :)

  • Offline neXus

  • Posts: 8,749
  • Hero Member
Re: Seeking permission to reuse some code/an idea ?
Reply #7 on: August 23, 2011, 22:59:48 PM
So it seems I've blissfully managed to avoid all of those scenarios :lol: Actually I don't generally use hover on elements other than a tags anyway, our software applies "hover" classnames to most areas where I need to use hover effects which conveniently skirts this problem.
Most do an jquery has its own :hover .hover addClass stuff as well.
Just that IE just is buggy as hell and not just with this stuff as you know.

Do not give an a height/line height and in some cases block it -IE MOANS!

0 Members and 1 Guest are viewing this topic.