View Full Version : Resolved Can you check my script for an error please.
theremotedr
01-03-2014, 08:19 PM
I have applied a script to my web page from here http://www.angelfire.com/nm/thehtmlsource/jazzup/dropdownmenu.html
Here is my web page in question http://www.theremotedoctor.co.uk/index.html
My problem is i have edited the code to allow the background to be red & the text to be black but i see no change once uploaded.
Many thanks.
djr33
01-03-2014, 08:26 PM
I don't think that's actually a problem. The changing text color fits the next background and so forth.
This is caused by several layers of code that are applied with CSS styles.
Based on what you've said in the other post, in order to address this you'll need to learn a bit more about how the code works. I'd recommend that. But for the moment, because it doesn't actually look bad (at least in my opinion), I think you can leave it.
theremotedr
01-07-2014, 12:31 AM
I have tried a few combinations for this script to work but struggling now.
Here is the page in question http://www.theremotedoctor.co.uk/
Make selection from the list and you are taken to the page in question.
My problem is i cant get a code to work in order to change the colour of the text or background.
I have managed to add a go button to a script which is a simple drop down box with a go button,make selection then hit go.
I have managed to add background / text colour no problem and works fine.
But i would like to use the script without the go button.
Please can you take a look and advise what i need to do in order to get the colour.
If you wish to look at the code that has colour look here http://www.ianparsons.info/z.htm
Many Thanks.
The
djr33
01-07-2014, 12:42 AM
It's working fine for me.
My problem is i cant get a code to work in order to change the colour of the text or background.
What do you mean exactly? Form elements are not usually meant to be styled. They're forms. If you want something custom, you'd need to build a Javascript-based dropdown menu which would be more complicated. I think the current select input is fine.
But there's plenty of info here on what you can do: https://www.google.com/search?q=select+css+styling
By the way, I think the addition of the new image at the top is good. It helps explain the website.
Also: the logo in the top left now looks a little blurry to me-- see if you can fix that if you get a chance.
theremotedr
01-07-2014, 11:54 AM
Logo now changed,didnt even notice it was Fuzzy.
theremotedr
01-07-2014, 07:31 PM
Form has now been sorted.
djr33
01-07-2014, 07:33 PM
Logo now changed,didnt even notice it was Fuzzy. Better. But note the "R" (and text with it) as well. Not as bad as the logo, but I'd still suggest fixing it when you get a chance.
Form has now been sorted. Good :)
theremotedr
01-07-2014, 07:52 PM
I will look at the text now.
If you could advise,on the form there is a scroller which highlites when you run up & down,can you advise the code so i could add to my css to change the colour.
I was going to leave it but now you are here i thought i would ask.
djr33
01-07-2014, 07:58 PM
I'd have to search for that myself. I'm not too familiar with styling form elements. It's possible that (because that's a user interface property) some browsers might not allow you to change it. But you can probably search for "css select styling highlight" and see if there's some info. Or someone else might know here.
For me (using Firefox) it's blue, which doesn't seem out of place for your theme.
Daniel is right, though i recall him addressing this issue previously (directly to you):
What do you mean exactly? Form elements are not usually meant to be styled. They're forms. If you want something custom, you'd need to build a Javascript-based dropdown menu which would be more complicated. I think the current select input is fine.
But there's plenty of info here on what you can do: https://www.google.com/search?q=select+css+styling
You can't style the drop down part. If you really had an intense desire to, you could make a makeshift one with Javascript and do it that way, however that seems like overdoing it. In my opinion, it's better to leave native form elements intact anyway.
djr33
01-07-2014, 08:08 PM
Yeah. I'm not sure exactly what the limits are. At least the font and font/background colors appear flexible based on what theremotedir has already done and examples I've seen (as in the google search), but I don't know whether anything else can be reliably customized like the highlight or scrollbar-- I'd imagine not but there may be some browser-specific styles out there. Or I may have just never seen this and it is possible, though I'd be a bit surprised.
theremotedr
01-07-2014, 08:20 PM
OK
I have also updated the logo text.
djr33
01-07-2014, 08:31 PM
Ok, that's fixed.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.