.
Hi Colin
is html.resultswiz()
a hard coded feature over which there is no control?
I’m looking to drop each table into a
Calum
it’s hardwired apart from the style.
i'm working on a javsascript version of the template so you can do
anything you like.
for now - if you choose to - you'd have to manipulate the DOM -
i.e. deconstruct it and reconstruct it.
···
Regards,
Colin J
www.sailwave.com
yahoo@wittongilbert.free-online.co.uk
Hi Colin
is `html.resultswiz()` a hard coded feature over which there is
no control?
I'm looking to drop each table into a <DIV> and it
doesn’t look possible… am i missing something stupid? Or is
the translation buried in the code and therefore not
configurable?
Calum
No virus found in
this message.
Checked by AVG - www.avg.com
Version: 10.0.1325 / Virus Database: 1500/3626 - Release Date:
05/09/11
it’s hardwired apart from the style.
i’m working on a javsascript version of the template so you can do anything you like.
Cool - you’ll have seen the recent discussion re scrolling results. Well it strikes me that the prettiest solution would be something like:
http://flowplayer.org/tools/demos/tabs/index.html but scrolling automatically.
So I figured all that was needed was a quick ≤div> round the table… More fool me!
> for now - if you choose to - you'd have to manipulate the DOM - i.e. deconstruct it and reconstruct it.
**Assuming you are referring to a "Document Object Model" now I know the golden rule is if you don't know you shouldn't fiddle with it... but I never learned that electrocution hurts by not putting a screwdriver in a live socket!! So where would I find the DOM?**
<details class='elided'>
<summary title='Show trimmed content'>···</summary>
Regards,
Colin J
[www.sailwave.com](http://www.sailwave.com)
</details>
The plan is to put the results into a JSON
string. Then javascript can present it in any way you like. I’ll
provide some examples including jjuery tabs and accordions etc
(see link below). And a page turning one where is turns the pages
and shows fleets. The competitor list (etc) will similarly have a
JSON version etc. XML is another possibility but javascript works
particularly well with JSON. It’s a good starting point.
Obviously to utilise this you will need a nerdy person that can
write javascript but I think there are enough on the SUG to help
people, including me. I would like to think that the resulting
templates will be be available on the website as third party
tools. To that end I’m also working on a mechanism for developers
to maintain their stuff on the site. If you sell your stuff we
will need to talk but if you are providing it for free then great.
Give me a week.
PS: I use jquery tabs in the new website. Sign in (with
twitter/facebook/google/yahoo) - no registration needed - and go
to “My Account” - you’ll see some there.
Some links:-
[http://jqueryui.com/](http://jqueryui.com/)
[http://www.json.org/](http://www.json.org/)
NB: the way to think about javascript (for the non-nerds) - is -
when you grab a web page from a server is grabs across static
content - the HTML and executable code - javascript - this
javascript can manipulate the static content in any way it likes -
add more, edit what’s there etc. the javascript executes on your
computer - it’s nothing to do with the server you got the page
from. javascript can also invisibly (i.e. without a page load) grab
more stuff from the server using “ajax”. I use ajax a lot on the
new site to save a form then read back a response code without the
user having to change pages.
NB: jquery is a popular javascript library from functions - it is
javascript.
NB: here's an example of javascript in action -
- a little ditty I wrote to plot
infection spreading (I’m interested in vaccination modelling and
herd immunity) . It’s executing on your computer not the server.
When you load the page ot drags across the accompanying javascript
and executes it.
···
Regards,
Colin J
yahoo@wittongilbert.free-online.co.uk
On Tue, 10 May 2011 00:10:22 +0100, Colin Jenkins
wrote:
it’s hardwired apart from the style.
i'm working on a javsascript version of the template
so you can do anything you like.
** Cool - you’ll have seen the recent discussion re
scrolling results. Well it strikes me that the prettiest
solution would be something like:**
** but
scrolling automatically.**
** So I figured all that was needed was a quick ≤div>
round the table… More fool me!
**
> for now - if you choose to - you'd have to manipulate the DOM - i.e. deconstruct it and reconstruct it.
** Assuming you are
referring to a “Document Object Model” now I know the golden
rule is if you don’t know you shouldn’t fiddle with it…
but I never learned that electrocution hurts by not putting
a screwdriver in a live socket!! So where would I find the
DOM?**
No virus found in
this message.
Checked by AVG - www.avg.com
Version: 10.0.1325 / Virus Database: 1500/3627 - Release Date:
05/09/11
www.sailwave.comcolin@sailwave.comhttp://flowplayer.org/tools/demos/tabs/index.html
Regards,
Colin J
···
Regards,
Colin J
www.sailwave.com
yahoo@wittongilbert.free-online.co.uk
On Tue, 10 May 2011 00:10:22 +0100, Colin Jenkins
wrote:
it’s hardwired apart from the style.
i'm working on a javsascript version of the template
so you can do anything you like.
** Cool - you’ll have seen the recent discussion re
scrolling results. Well it strikes me that the prettiest
solution would be something like:**
** but
scrolling automatically.**
** So I figured all that was needed was a quick ≤div>
round the table… More fool me!
**
> for now - if you choose to - you'd have to manipulate the DOM - i.e. deconstruct it and reconstruct it.
** Assuming you are
referring to a “Document Object Model” now I know the golden
rule is if you don’t know you shouldn’t fiddle with it…
but I never learned that electrocution hurts by not putting
a screwdriver in a live socket!! So where would I find the
DOM?**
No virus found in
this message.
Checked by AVG - www.avg.com
Version: 10.0.1325 / Virus Database: 1500/3627 - Release Date:
05/09/11
colin@sailwave.comhttp://flowplayer.org/tools/demos/tabs/index.html
Regards,
Colin J
I referred to accordions in my previous post on
publishing - i’ve used one in my FAQ page - also possible for
scored by group (fleet) results…
Thanks Colin.
Clearly nothing I can do to work in sailwave but absolutely happy to share anything I write back to the community, and it would be usually under GPLv3 unless you care to suggest a more appropriate licence.
I use jquery for the odd bits n pieces too… prefer it to mootools.
Just as a word of warning to people there are occassionally conflicts with jquery or simillar when one programme uses an old version and another on the same html page loads a new version - it leaves your browser stuck which to use… …if you have a modern content management system such as drupal, joomla or wordpress and try this when it comes out and it fails… …its probably that thats the problem.
I’ve worked with JSON strings in PHP before - immensly powerful.
I’ve looked at styling the XML or even the BLW file before to provide enhanced results functions. Certainly doable and could work quite well. BUT the reason I dropped any plans to do it like a hot potato is the file contains sensitive data (entrans emails, potentially medical conditions etc) that shouldn’t EVER be on a website even if they don’t show to the casual user…
Calum
···
Regards,
Colin J
www.sailwave.com
yahoo@wittongilbert.free-online.co.uk
On Tue, 10 May 2011 00:10:22 +0100, Colin Jenkins wrote:
it’s hardwired apart from the style.
i’m working on a javsascript version of the template so you can do anything you like.
Cool - you’ll have seen the recent discussion re scrolling results. Well it strikes me that the prettiest solution would be something like:
but scrolling automatically.
So I figured all that was needed was a quick ≤div> round the table… More fool me!
> for now - if you choose to - you'd have to manipulate the DOM - i.e. deconstruct it and reconstruct it.
Assuming you are referring to a “Document Object Model” now I know the golden rule is if you don’t know you shouldn’t fiddle with it… but I never learned that electrocution hurts by not putting a screwdriver in a live socket!! So where would I find the DOM?
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1325 / Virus Database: 1500/3627 - Release Date: 05/09/11
http://flowplayer.org/tools/demos/tabs/index.html
Regards,
Colin J