Discussion Forum: Suggestions: Message 1058040
 Previous Message   Next Message 
 Author: mfav View Messages Posted By mfav
 Posted: Oct 14, 2017 17:50
 Subject: Re: Fix BL login & links
 Viewed: 35 times
 Topic: Suggestions
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

mfav (174)

Location:  USA, Vermont
Member Since Contact Type Status
Aug 4, 2010 Contact Member Buyer
Buying Privileges - OK
  Why couldn't you add an 'a' element wrapper around the 'img'
element inside the 'button' element to bring in the functionality of
the 'a' element?

Part 1.
You would have either an A element or a BUTTON element.
You can wrap an A around an IMG.
You can set the BUTTON type to be an image.
You can't put an A within a BUTTON.
If you could, would a click activate the A or the BUTTON?

Part 2.
The programmer needs the "tap" to raise the floater menu on tablets and phones
because there's no "hover" state. No cursor to register coordinates.
If you tapped or clicked a straight html BUTTON or A, you'd go to the target,
not raise a floater.

Message is in Reply To:

View Thread Re: Fix BL login & links - randyf (442)
[...] Why couldn't you add an 'a' element wrapper around the 'img' element inside the 'button' element to bring in the functionality of the 'a' [...]
(81 months ago, Oct 14, 2017, to Suggestions)

9 Messages in this Thread:

 Msg 1 - tEoS (5297) 81 months ago Oct 13, 2017 to Suggestions
 Msg 2 - mfav (174) 81 months ago Oct 13, 2017 to Suggestions
 Msg 3 - tEoS (5297) 81 months ago Oct 14, 2017 to Suggestions
 Msg 4 - SylvainLS (46) 81 months ago Oct 14, 2017 to Suggestions
 Msg 5 - randyf (442) 81 months ago Oct 14, 2017 to Suggestions
 Msg 6 - SylvainLS (46) 81 months ago Oct 14, 2017 to Suggestions
 Msg 7 « - mfav (174) 81 months ago Oct 14, 2017 to Suggestions
 Msg 8 - mfav (174) 81 months ago Oct 14, 2017 to Suggestions
 Msg 9 - Admin_Jaclyn (27) 81 months ago Oct 13, 2017 to Suggestions

 Previous Message   Next Message 

Entire thread on one page
This message and all its replies on one page