clickable area - Page 3

User 78051 Photo


Registered User
201 posts

Hey Byron

I started using WebAssist (http://www.webassist.com/) products (which are Dreamweaver extensions) a few years ago and slowly developed my own system based around their 'core' and have created my own cms. One of the utilities within their arsenal is called Databridge and I *think* (I know its in the full suite so please check) it includes a search creation function which I have used multiple times. Its pretty powerful and is used to search a database much like I have used here: http://clients.motley.site/friths/shop-online.php (which I have also used RSD on!)

If you want to ask more q's or want a chat about it then please feel free to email me or give me a call (am in the UK). Contact details are on here: http://www.motley.co.uk/contact.php

All the best

Jamie
User 232214 Photo


COO
827 posts

Byron Tipping wrote:
how are you handling the search option on the site. I would like to start doing that but don't know how.


We like https://cse.google.com/cse/ :P
The future of web layout has arrived and it's called CSS Grid. CoffeeCup helps you to get ready with a free guide, the Grid Builder app plus cool demos & themes.
User 434929 Photo


Ambassador
938 posts

Jamie wrote:
Hey Guys

Have set up a ul link section - kept it in the vertical - styled it etc but what I am struggling to do is to get the whole line be a clickable link rather than just the text that is being used
Cheers
Jamie


View this demo
https://www.youtube.com/watch?v=kbPafMxpC6s
Guys at coffeecup are awesometacular.
User 379556 Photo


Registered User
1,583 posts

Thanks Mansour for that tutorial. I hadn't dreamed that such things could be done.

I had completely despaired of introducing in RSD an onclick="" into a link that worked like a button with a full clickable area. It can't, of course, be put in the Href box of text or button links. Your tutorial inspired me to try again, and amazingly a simple solution was found.

I styled an HTML Element to look like a button with the background colour changing on hover etc. In the HTML box I entered the following as an example to have a button playing music when clicked, and was delighted to find it worked.

<a style="display:block; color:white" href="#" onclick="document.getElementById('music').play()">Play</a>

<audio>
<source src="sound.mp3">
<source src="sound.ogg">
Your browser does not support the audio element.
</audio>

Frank
User 379556 Photo


Registered User
1,583 posts

Further to the post above -
1. I'm sorry I had not noticed or used the antepenultimate button when entering code in these posts.
2. Although the code shown in the post worked, the music id was omitted. It is now:
<a style="display:block; color:white" href="#" onclick="document.getElementById('music').play()">Play</a>

<audio id="music">
<source src="sh03a.mp3">
<source src="sh03a.ogg">
Your browser does not support the audio element.
</audio>

Frank

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.