Jump to content

Joss

PW-Moderators
  • Posts

    2,862
  • Joined

  • Last visited

  • Days Won

    47

Everything posted by Joss

  1. The headline is fine - good strong copy and journalistic style. It is called "setting your stall out" and sets the scene for an article. And the gentleman is in the wonderful Dublin; the spelling of the word favourite is fine. Nice to see proper English even after all that Guinness/Murphy's....
  2. Wearing your mast round your chin is not the same thing at all!
  3. Joss

    I WANT YOUR VOICE!

    Okay, I had to back track to make sure you were not talking about me! I know my luscious long brown (or used to be) hair can be confusing, but......
  4. Ooh, just tried installing this on 2.5 and am getting not all dependencies met What am I missing?
  5. Yeah, I couldn't believe you squeezed in something so tight...
  6. Joss

    I WANT YOUR VOICE!

    Good idea - some of the big PW users here have spent a lot of time "selling" PW to their clients - their insight would be useful. (And some of the insights will be plain ludicrous, but one takes what one can...)
  7. Joss

    I WANT YOUR VOICE!

    hehe Send away- warning, I may edit it for voiceability.... is that okay? (I did that with Ryan too)
  8. Joss

    I WANT YOUR VOICE!

    Yes, it should be straight and authoritative, though, friendly, as Onjegolders says. Clarity and Consistency are the two keywords - and that is as much about the copywriting as anything else. You can get the best voice in the world, but if the script is not properly written for voice, then it can not just fail, but be counter productive. I have noticed this with some of the adobe tutorials - nicely and clearly voiced with proper recording and direction, but the script isn't perfect, and the result can sometimes be confusing. To be fair, the adobe in house tutorials are some of the better ones out there.
  9. It might not be organised that way - actually, it probably wont on one page - the individual links will scattered. This was part of why I didn't adapt an accordion - I wanted to have individual players scattered, while making sure only one was opened and loading at anyone time. As for everything else - thanks guys, I am neatening it up!
  10. Joss

    I WANT YOUR VOICE!

    The Russian script would need to be different, especially if from the Cold War. "ProcessWire is based on a powerful API .... but you don't need to know that!" Mind you, that could apply to the US version these days! (Sorry, Ivan! )
  11. Actually, it is fine asking similar or repetitive questions - it is difficult to know exactly what to search for sometimes and having multiple versions of a question on a forum make it more likely people can find the right answer. So, no problems, mate.
  12. Joss

    I WANT YOUR VOICE!

    awwww! Oh, and John Hurt too. http://dancingbear.co.uk/joss-demo-hurt.mp3 But probably not a good idea unless you want to get sued!
  13. Masks? Maybe you should check your browser.
  14. Joss

    I WANT YOUR VOICE!

    I also do straight voices (Pirates are a bit of a sideline, really...) And UK voices are just as good for selling as US ones - in fact, they are often taken more seriously. http://dancingbear.co.uk/joss-demo.mp3
  15. Oh, I will have a look through that. One thing I notice is that you have moved the close player function into the document ready function. This button gets loaded with the external page and for me it didn't work unless I had it in ajaxComplete.
  16. Thanks. Because this particular site sits on a shared server. I have to be wary of resources - the current site has had problems with files sometimes not playing the whole way through because the player outpaces the file loading on a bad day. This tends to be made a lot worse if there are other players on the page.
  17. Hi! MadeMyDay The reason I am emptying the content is that these will be large(ish) mp3 and ogg files in the <audio> tag. if someone closes one or chooses another one, I want to make sure that the file not only stops playing, but stops loading too - I could have 100 of these on a page!
  18. I am developing a PW site where the music is loaded by jquery and ajax. I have written my own JQuery script as a test (Yes, ME! Written a script!!) The test is actually working (no errors in the console), but would some kind person just look over the script and see whether I have done something idiotic and can be improved? I have never written a proper jquery script before. Basically, when you click on an "open player" button, the script loads a page into a hidden div then slides it open, giving the div a "player-open" class in the process. The loaded page includes a Close Player button. When you click that, it slides the div closed, empties it and hides it again, removing the "player-open" class in the process. PW loops through a pile of these, so you get several Open Player buttons on the page. Each has a unique ID and also has a unique DIV associated with them (I just use the linked-to page id to help make them unique). So, to allow for this, the script also checks to see if any there are any visible divs with the "player-open" class. If there is, it slides them closed before opening the new one. It is pretty much like an accordion, but I can shove the elements where I want on the page - they dont need to be grouped together. it is also easy to change it so all of the links use the same DIV rather than their own unique div. Anyway, here is the script <!DOCTYPE html> <html> <head> <script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script> $(document).ready(function(){ $.ajaxSetup ({ // Disable caching of AJAX responses cache: false }) $('.openplayer').click(function() { event.preventDefault(); // stop the browser from following the link var url = $(this).attr('href'); var divclass = $(this).attr('data-class'); var buttonclass = $(this).attr('id'); //$("div").removeClass("player-open"); - doesn't seem to be needed. /* Check to see if there is a div with the class player-open If there is, slide it closed, remove its player-open class then move on to the load */ if ($(".player-open").is(':visible')) { $(".player-open").slideUp("slow", function(){ $(".player-open").empty().removeClass("player-open"); $("#" + divclass).load(url, function(){ $("#" + divclass).hide().slideDown("slow"); $(this).addClass("player-open"); }); }); }else{ /* If there is not a visible div with the class .player-open Then just go ahead with the load */ $("#" + divclass).load(url, function(){ $("#" + divclass).hide().slideDown("slow"); $(this).addClass("player-open"); }); } }); //end openplayer }); /* This is for the close player button that is part of the called html file It first slides the div back up and then empties it for good measure */ $(document).ajaxComplete(function() { $('.closeplayer').click(function() { $(".player-open").slideUp("slow", function(){ $(".player-open").empty().hide(); $("div").removeClass("player-open"); }) }); }); </script> </head> <body> <!-- ProcessWire will use page id to customise the id of the button and div in each case, making each unique --> <button><a href="ajaxtext1.html" data-class="div1" class="openplayer" id="button1">Open Player</a></button><br> <div id="div1" style="display: none"></div> <button><a href="ajaxtext2.html" data-class="div2" class="openplayer" id="button2">Open 2 Player</a></button><br> <div id="div2" style="display: none"></div> <button><a href="ajaxtext3.html" data-class="div3" class="openplayer" id="button3">Open 3 Player</a></button><br> <div id="div3" style="display: none"></div> <button><a href="ajaxtext4.html" data-class="div4" class="openplayer" id="button4">Open 4 Player</a></button><br> <div id="div4" style="display: none"></div> </body> </html> Thanks!
  19. I think it is terribly easy to clutter up a ProcessWire installation with a huge amount of information. One thing that is important to remember is that ProcessWire is not WordPress and is not aimed at the casual blogger with little knowledge hitting an install button on their CPanel. ProcessWire is a true CMS in that it is a system that manages content - whatever that content is. Because it is agnostic about the nature of the content, by nature it requires a certain amount of development input post installation - in other words, its strength is that it does not try and force you down a certain route. Consequently, it really is a development CMS, even though it is incredibly easy to learn even for non-developers. So, I agree with Diogo just above that all that is required is links to useful tutorials and for the actual installation to be as clean as possible. As an additional note, I would like to see a way of reverting the installation to a clean state. So, for instance, you can install with demo content, or maybe a third party tutorial profile, but once you have finished, you can press a destructive button to "install clean profile." This effectively removes all trace of the existing profile, wipes the database (keeping the admin user details) and gets you back to a blank install. This button would, of course, need to be available as part of the disposable profiles and not there by default! Would not want any accidents......
  20. Love it! Though the copyright implications have just made half of my brain pack everything and run for the hills!
  21. Okay, don't even go there! (Damn, must throw that old spandex suit out!)
  22. Well, I hate to give people indigestion over breakfast! I normally use proper singers (or rather, singers who did not wreck their voices smoking, like I did), but I do occasionally like to give myself an outing other than backing vocals.
  23. ah - that would be me.... sorry
×
×
  • Create New...