diff options
author | Morten Engvoldsen <morten.engvoldsen@nokia.com> | 2010-05-20 08:04:58 (GMT) |
---|---|---|
committer | Morten Engvoldsen <morten.engvoldsen@nokia.com> | 2010-05-20 08:04:58 (GMT) |
commit | c152b5dc859a47c45c7be70b7869e747ec58d8a9 (patch) | |
tree | a71e32c1de0a464cf4189d3509bc271617b25a97 /doc | |
parent | 94cbd9e4e90c06378c70ed49ca0f798b7129a5ea (diff) | |
download | Qt-c152b5dc859a47c45c7be70b7869e747ec58d8a9.zip Qt-c152b5dc859a47c45c7be70b7869e747ec58d8a9.tar.gz Qt-c152b5dc859a47c45c7be70b7869e747ec58d8a9.tar.bz2 |
Doc: Updating CSS and JS
Fixed bugs on index page, moved JS from template to script file.
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/src/template/scripts/functions.js | 17 | ||||
-rwxr-xr-x | doc/src/template/style/style.css | 2 |
2 files changed, 19 insertions, 0 deletions
diff --git a/doc/src/template/scripts/functions.js b/doc/src/template/scripts/functions.js index 7d93486..afd1ec3 100755 --- a/doc/src/template/scripts/functions.js +++ b/doc/src/template/scripts/functions.js @@ -33,7 +33,21 @@ $('#bigA').click(function() { $(this).addClass('active') }); +$('.feedclose').click(function() { + $('.bd').show(); + $('.hd').show(); + $('.footer').show(); + $('#feedbackBox').hide(); + $('#blurpage').hide(); +}); +$('.feedback').click(function() { + $('.bd').hide(); + $('.hd').hide(); + $('.footer').hide(); + $('#feedbackBox').show(); + $('#blurpage').show(); +}); var lookupCount = 0; var articleCount = 0; var exampleCount = 0; @@ -131,6 +145,9 @@ else */ // Loads on doc ready $(document).ready(function () { + var pageUrl = window.location.href; + //alert(pageUrl); + $('#pageUrl').attr('foo',pageUrl); var pageTitle = $('title').html(); $('#feedform').append('<input id="page" name="pageVal" value="'+pageTitle+'" style="display:none;">'); var currentString = $('#pageType').val() ; diff --git a/doc/src/template/style/style.css b/doc/src/template/style/style.css index 5ad90e3..3f35642 100755 --- a/doc/src/template/style/style.css +++ b/doc/src/template/style/style.css @@ -456,6 +456,7 @@ .wrap .content { padding: 30px; + word-wrap:break-word; } .wrap .content li @@ -1067,6 +1068,7 @@ .indexboxcont .sectionlist { display: inline-block; + vertical-align:top; width: 32.5%; padding: 0; } |