Curtis Thompson
Forum Replies Created
-
Curtis Thompson
October 8, 2012 at 10:10 pm in reply to: Trouble getting JW player to work correctlyhello…
ya the point of that player is to generate the embed tags, etc., that are needed, but they are pretty simple to begin with…
[Jeremy Chopra] ” definitely want to do that but not sure the best place to start. any suggestions outside of the JWplayer site itself?”
you mean to just learn about it? if so, this is a nice post on it with some sample code so that you can see what’s going on:
https://camendesign.com/code/video_for_everybody
sitruc
-
hello…
[Jeremy Chopra] “How would I go about leveraging html5 video?”
well – you can use the same player you are now. they have a lot of docs on it, but the basic concept is that you create copies of your movie in a few alternate formats (.mp4, .webm, and .ogg), each of which is supported by ie, chrome and firefox/safari…then the player code you have will play the right version for whichever browser the user visits you with, or it will default to the flash copy.
the downside is that you have to create 3 extra copies of your movie, but the upside is better mobile support and overall forward-looking video technology…
sitruc
-
hello…
both revert to flash for me in firefox and play ok – are you intending to leverage html5 video when possible?
sitruc
-
hello…
if it’s a specific question about layout, functionality, etc. then feel free to post it here; otherwise you can post to the cow jobs board:
let us know!
sitruc
-
Curtis Thompson
August 25, 2012 at 12:02 am in reply to: How do I create an external CSS drop down nav. bar?hello…
hmm – i’m not quite following what you want to do – can you expand a bit more?
(i know all the individual words, but put together as you have them i don’t quite know what you want to achieve)
sitruc
-
Curtis Thompson
August 23, 2012 at 11:22 pm in reply to: Any ideas what I’m missing to cause the footer on this page to reposition incorrectly?hello…
oh – ya. that text is aligned right. “footer” was a bit vague… 🙂
looks like you can just set the text-align property of the #footer element to “center” and then dump the 350px padding on that and the h3 within it and it should center right up. but i will note that’s just a theory and is untested…
sitruc
-
Curtis Thompson
August 23, 2012 at 11:04 pm in reply to: Any ideas what I’m missing to cause the footer on this page to reposition incorrectly?hello…
i just checked in ff on mac and it was centered there – what browser/platform are you seeing the issue in?
sitruc
-
hello…
yup – that’s what i documented how to do – it’s just a div that gets expanded to the full height, which then moves the page down.
if you look at the hoverintent page:
https://cherne.net/brian/resources/jquery.hoverIntent.html
you see that the little boxes expand their height when they are moused over – that’s the exact same concept, but they just put a menu in the div that expands and a menu item in the primary box. in the case of their page, it just pushes the rest of the content down a bit as it expands…
sitruc
-
hello…
i assume you mean the sub menu that appears in a window-shade style effect for each tab? if so, that is something that most major javascript libraries (jquery, mootools, etc.) have built in as a ui function – here’s the jquery one:
https://jqueryui.com/demos/toggle/
i see by glancing through their code that they are using jquery plus a custom plugin to that called hoverintent:
https://cherne.net/brian/resources/jquery.hoverIntent.html
you could leverage all that same code – start by taking their page source and stripping out all the unnecessary items and get it down to a simple example of the tabs and related sub menus. then you would have a working example to build back up into a site of your own…
hope that helps!
sitruc
-
hello…
ahh – ya. you need to either put your html output in a php echo statement, or you need to close and re-open your php block – so either:
<?php
$d=date("F");
if ($d=="July") {
?>
or:
<?php
$d=date("F");
if ($d=="July") {
echo "note on the second one that you have to escape the quotes inside the echo statement so that you avoid a parse error - a simpler example:
echo "this is in \"quotes\" here";an alternative is to use single quotes for the echo, but you can run into issues there too...as for closing php blocks and using standard html vs doing a php echo, that is personal preference...either one is "correct" technically...
hope that helps!
sitruc