Mark Franz
asked on
Scalable rounded corner w/ variable color and blocked header
Hey,
I like the way this page has scalable content boxes, http://home.tiscali.nl/developerscorner/liquidcorners/more-rounded-corners_step2.htm But would like to make it more attractive by using variable colors on the boxes and adding block headers for each box like on http://www.csstemplatesforfree.com/previewcsstemplate.aspx?csstemplateName=balanced while still keeping the scalability. The problem with the "Balanced" page is that the tags are fixed widths.
I have limited skills when it comes to <div> layout and CSS so trying to hack through this might be futile, if anyone has a different example I can look at or a fix I would appreciate it.
I like the way this page has scalable content boxes, http://home.tiscali.nl/developerscorner/liquidcorners/more-rounded-corners_step2.htm But would like to make it more attractive by using variable colors on the boxes and adding block headers for each box like on http://www.csstemplatesforfree.com/previewcsstemplate.aspx?csstemplateName=balanced while still keeping the scalability. The problem with the "Balanced" page is that the tags are fixed widths.
I have limited skills when it comes to <div> layout and CSS so trying to hack through this might be futile, if anyone has a different example I can look at or a fix I would appreciate it.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
hmm... works fine for me...
please double-check the script filenames and paths.
just to test it, change your jquery script tag to point to the one on google apis cdn:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
if your test page is web-accessible, please post its url to help you debug this further.
Azadi
please double-check the script filenames and paths.
just to test it, change your jquery script tag to point to the one on google apis cdn:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
if your test page is web-accessible, please post its url to help you debug this further.
Azadi
ASKER
OK, the error was being thrown by my editor, (browser switch). Here is the link, the box loads fine but no corners. http://www.mgfic.com/templates/box.htm
>> <SCRIPT type="text/javascript" src="jquery.corner.js"></S CRIPT>
the location and/or name of jquery.corner.js script is incorrect - your page returns a '404 not found' for this file.
http://www.mgfic.com/templates/jquery.corner.js does not exist
make sure you specify correct path to jquery.corner.js file in your <script> tag.
Azadi
the location and/or name of jquery.corner.js script is incorrect - your page returns a '404 not found' for this file.
http://www.mgfic.com/templates/jquery.corner.js does not exist
make sure you specify correct path to jquery.corner.js file in your <script> tag.
Azadi
you also have a typo in script tag for jquery script:
<SCRIPT type="text/javascript" src=""http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></SCRIPT>
src=""http...
should be
src="http... (only one " there, not 2 like you have)
this prevents jquery script from loading.
Azadi
<SCRIPT type="text/javascript" src=""http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></SCRIPT>
src=""http...
should be
src="http... (only one " there, not 2 like you have)
this prevents jquery script from loading.
Azadi
ASKER
OK, with the .js script embedded in the page it runs fine. With the jquery.corner.js file installed as a link it fails. This looks like a hosting issue. But anyway, I got it running with your help.
Thanks, this is exactly what I was looking for.
Thanks, this is exactly what I was looking for.
ASKER
The hosting companies servers are not setup to allow extended naming of files, so I had to rename them as old .js files, but the scripts run fine. Check the source at http://www.mgfic.com/templates/box_linked.htm
cool! happy that you sorted it out.
glad i could help :)
Azadi
glad i could help :)
Azadi
ASKER
Open in new window