Forum Replies Created

Page 15 of 50
  • hello…

    no example but with any basic scripting language (php, asp, jsp, cgi, etc.) you can render one page with all common elements and then take a parameter to tell which movie to load…

    so in php it would be sorta like:

    <OBJECT … SRC=”/path_to_movie_dir/<?= $_GET[“movie”] ?>” …></OBJECT>

    basically the get param get passed in via something like this:

    <IFRAME SRC=”/path_to_movie_page/show_movie.php?movie=1.wmv” …></IFRAME>

    and then you catch it in the file…the rest is the same across all movies so you end up with one page that can show all your movies…

    make sense?

    sitruc

  • Curtis Thompson

    August 21, 2006 at 3:38 pm in reply to: Finder Pop utility for OSX

    hello…

    f9 -> f11 are pretty handy for quickly getting to other apps, windows in the current app and the desktop – also, apple-tab gets you the app switcher to get to other apps as well – no context menus, but once you get used to the function ones you wonder how you lived without them, imho…

    as for the task bar – put your dock on the bottom and then right-click on any icon that is for an open app and you get the list of available windows open for that app in the context menu…

    sitruc

  • hello…

    [Bret Williams] “But that would be the same issue with an iframe.”

    ooh – no. not what i meant – you could switch the url of the iframe on each click to a new page, so the respective movie would only load if you clicked on the link for it – so if you had 5 separate movies, then you’d either have 5 separate html pages or one scripted page that took a param like a file name and returned that movie…

    sitruc

  • hello…

    yup – no special page type is needed for javascript – plain html will be fine…

    sitruc

  • hello…

    ok – thanks for the clarification! a common way to do this would be with dhtml and hiding/showing content based on clicks – here’s a demo of that which i did for another question a while back:

    https://www.sitruc.com/cow/change_panel/

    the problem with that is that all the content is loaded on the page and you’re just showing and hiding bits of content – so in your case, that would mean X movies would be loading on the page at once, which can be slow. you really only want to load movies as requested. so in that case, you might want to consider an iframe – basically just a floating frame on your page that holds content from another page. so in this case, you would have an iframe that was the width/height of your movies and you’d put it on the page where you wanted the movies to show. then with each click of a thumbnail, you’d change the href of that iframe to a separate file that played that movie. here’s an example of an iframe that i had on file:

    https://www.sitruc.com/cow/iframe/change_two.html

    (it’s more complex and was for another question on how to change 2 iframes at once, but you can see the idea here)

    make sense?

    sitruc

  • hello…

    can you expand on “progressive download”? do you mean that you want v1 to trigger v2 right as it’s done loading? or do you just mean you want a few links to videos and when the user clicks on them they play vX in the “video playing space” on the page?

    sitruc

  • Curtis Thompson

    August 19, 2006 at 8:25 pm in reply to: This one CSS instance is stumping me big time!

    hello…

    not stumping – you didn’t proivde the url on the first post, and your inline style example in the post looked the exact same across browsers, so that’s all i had to go on. now that i see your url, i can see the difference…

    it looks like the culprit is the h3 tag – some browsers are honoring it, but others are not. while css is generic, there are numerous corner cases where different browser doms parse things in different ways. for example, on your page, i see that you appear to have 38 opening div tags but only 35 closing ones – that means that there are likely some unclosed divs, which might affect your layout in different browsers, and is probably the culprit here, although with as many specific divs as are in there, it’s hard to say. but there is an easier fix, which is next.

    in this case, though, you have redundant tags. you have the “footer” div, which has a font size and color style set – then inside that, you have an h3 tag, which has a separate style in your sheet, but no font size attribute. but regardless, you don’t need it there – you have all the styles in the footer css declaration, so you can just remove the unneeded h3 tag around the text inside the footer – if you want that text bold, just add either a simple bold tag or a bold attribute to your footer css delcaration and that will solve the issue…

    sitruc

  • Curtis Thompson

    August 19, 2006 at 7:33 pm in reply to: hows my website? am I far from my competitors?

    hello…

    oops – went to look at your site and it says it’s offine – can you repost for feedback?

    sitruc

  • Curtis Thompson

    August 19, 2006 at 7:32 pm in reply to: This one CSS instance is stumping me big time!

    hello…

    hmm – the examples you’ve provided here look the exact same on firefox, ie and safari on mac – sure you don’t have some sort of odd caching issue there?

    sitruc

  • welcome aboard officially simon! 🙂

    sitruc

Page 15 of 50

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy