View Topic - Image Header On Top of Menu PDF
View Topic - Image Header On Top of Menu PDF
com
Skip to content
FAQ
Register
Login
hello
I want the picture at the top (above the <nav class="main-header navbar ...">)
please help
saleh
Posts: 343
Joined: Mon Dec 09, 2013 11:21 pm
Top
Try this at "Startup Script" under "Client Scripts" -> "Global" -> "Pages with header/footer":
$(document).ready(function() {
$(".main-header").before("<div class='top-logo'><h1>Your Logo Image Goes Here</h1></div>");
$(".top-logo").css({"position": "relative", "top": "0", "width": "100%", "height": "50px"});
$(".main-sidebar").css({"position": "absolute", "top": $(".top-logo").outerHeight()});
$(".content-wrapper").css({"position": "static", "width": "100%"});
});
I know this is not perfect 100% as you wish, so please be wise, you need to improve it by yourself.
mobhar
Posts: 6568
Joined: Wed Jun 05, 2013 2:11 pm
Top
hello
I want a picture instead of writing
$(".main-header").before("<div class='top-logo'><h1>Your Logo Image Goes Here</h1></div>");
Change to : phpimages/h.jpg
saleh
Posts: 343
Joined: Mon Dec 09, 2013 11:21 pm
Top
Change:
$(".main-header").before("<div class='top-logo'><h1>Your Logo Image Goes Here</h1></div>");
to:
$(".main-header").before("<div class='top-logo'><img src='phpimages/h.jpg'></div>");
mobhar
Posts: 6568
Joined: Wed Jun 05, 2013 2:11 pm
Top
saleh
Posts: 343
Joined: Mon Dec 09, 2013 11:21 pm
Top
mobhar
Posts: 6568
Joined: Wed Jun 05, 2013 2:11 pm
Top
saleh
Posts: 343
Joined: Mon Dec 09, 2013 11:21 pm
Top
hello
There is a problem opening some pages
Do not open full pages
saleh
Posts: 343
Joined: Mon Dec 09, 2013 11:21 pm
Top
Make sure you have already implemented it also into PHP Report Maker project side.
mobhar
Posts: 6568
Joined: Wed Jun 05, 2013 2:11 pm
Top
saleh
Posts: 343
Joined: Mon Dec 09, 2013 11:21 pm
Top
saleh wrote:
> Do not open full pages
What did you mean by "do not open full pages"? Did you see the error message? If so, post here for more
discussion. If there are no error message in the web app side, try to do "View Page Source" from your
browser, and check also whether any error message from that page source.
mobhar
Posts: 6568
Joined: Wed Jun 05, 2013 2:11 pm
Top
I see Debug :him at the end of the page in Explorer browser There is no error
saleh
Posts: 343
Joined: Mon Dec 09, 2013 11:21 pm
Top
Make sure you have already successfully updated your Google Chrome browser to the latest version, and
then try again. If the problem remains, please try to "Clear browsing data..." from "More Tools" menu of
your Google Chrome, and then try also again.
mobhar
Posts: 6568
Joined: Wed Jun 05, 2013 2:11 pm
Top
hello
saleh
Posts: 343
Joined: Mon Dec 09, 2013 11:21 pm
Top
mobhar wrote:
> I know this is not perfect 100% as you wish, so please be wise, you need to improve
> it by yourself.
mobhar
Posts: 6568
Joined: Wed Jun 05, 2013 2:11 pm
Top
khonyot
Posts: 10
Joined: Fri Oct 13, 2017 3:11 am
Top
Display posts from previous: All posts Sort by Post time Ascending Go
Post a reply
16 posts • Page 1 of 1
Board index
Delete all board cookies • All times are UTC + 8 hours