hi there. I am trying to set my background as full, i copy the code from above, but something doesn't or i can't make it work! Webpage . Can you help me with that?
Well you can't see it now, because i download it. I think i do everything right but it doesn't work.
Καλησπέρα - ακολούθησες τα όλα τα βήματα;
Δεν βλέπω το full-background.js ούτε το #wrapper στην index.php σου. Μόνο το css έβαλες...
Καλημέρα! Ναι γιατί τα έβγαλα... από το δικό σου post ακολούθησα όλα όπως τα έγραφες. Αλλά δεν μου το έκανε; Επίσης μου χάλαγε το menu! Το έχω προσπαθήσει πολλές φορές(!!!) αλλά τίποτα! Δεν ξέρω τι κάνω λάθος.
Δεν μπορώ να σε βοηθήσω πάντως αν δεν το στήσεις - έστω όπως-όπως...
Μπορείς πάντως να δείς το plugin σε δράση στην ιστοσελίδα μου...
Does it work yet?
;)
Thodoris says he's following the steps but then his menu gets messed up and that the plugin doesn't work..
We can help even with a non working set up - something for us to look...
I see that ckg already had this problem, and it was resolved by arsondpi... and I swear, I have read over the code a million times and have made all of the suggested tweaks, but i am still getting this error message:
Parse error: syntax error, unexpected T_STRING in /home2/solomoo0/public_html/ndxz-studio/site/plugin/plugin.full_background.php on line 12
I am extremely excited to get this plug-in going, and am super appreciative of all the time that people have already spent getting me this far. If anyone has any suggestions on what I've got wrong, I would really appreciate the help. And 1,000 apologies in advance if it's something obvious, or something someone else has already pointed out.
My Site.
...well I googled what a t-string is. Did you miss out on a semicolon?
I'm sorry, I should have mentioned, I googled it too...  I'm pasting the code in question here, maybe someone can tell me if I'm making a simple syntax error:
<?php if defined'SITE' exit'No direct script access allowed'/*** Backgrounded** Full Size Backgrounded* * @version 1.0* @author Vaska */function full_background     // we'll just get it from the page background image    global $rs        if $rs'bgimg' != ''         // get the dimensions        $size  getimagesizeDIRNAME  '/files/'  $rs'bgimg'        return "<img src='"  BASEURL  files$rsbgimg' width='$size0' height='$size1            return?>
The error message says that the error occurs on line 12, which is:
global $rs;
But from my reading, I understand this may only be the 'general' area that the error is occurring.
I should mention also that I updated jquery to version 1.3, removed the script tags from the 'full_background.js' file as i am calling it from the index, and ensured that i am calling full_background after i am calling jquery in the index - all as you suggested to ckg. Thanks for sticking around to help arsondpi...
wooops...
sorry, i thought i only put the code in the brackets...
i apologize for the horizontal scroll bar.
Try this download... the js and the plugin are ready to upload - the rest are easy.
arsondpi, you've saved yet another helpless soul!
my problem, for those who may have similar, was putting the line calling the script in the wrong place in the index file. if you download from arsondpi's previous link, the instructions in do_me_first.html cleared up [for me] where exactly to put that piece of code.
cheers to all for the great help!
i'm off to develop my site...
Sorry for the mesh. I will upload the code so you can see it by yourself. I don't now what am i doing wrong so i will be waiting you from you to tell me.
well now you can see it. if you can tell me anything that will help!
Το plugin λειτουργεί με το jquery 1.3! Το έχουμε πεί αυτό...
Αναβάθμισε το στην τελευταία έκδοση - με αυτό θα λειτουργήσει.
Στην παρούσα έκδοση του indexhibit το thickbox και το jquery 1.3 δεν τα πάνε καλά και έτσι δεν θα δεν θα μπορείς να χρησιμοποιήσεις το thickbox...
Πάντως λόγω του ασπρόμαυρου background θα το δείς να κάνει κάτι ευχάριστα περίεργο με το κείμενο όταν μικραίνεις/μεγαλώνεις το παράθυρο!
...do check the download link above.
Πώς το αναβαθμίζω; sorry για όλα αυτά! 10 φορές είδα τα javascript στο δικό σου site και αυτο δεν το πρόσεξα.
Ok arsondpi.... i think it's working fine now! Check it out and tell me. Thnx for everything!
Blimey. I wish I'd worked backwards in this thread rather than from the other way! Nothing was going right for it as I wasn't doing the plugin file.
But thanks to Arsondpi's incredible instructions it's all working now. thanks man :)
maybe it should go under the Tutorials section?
I started to follow Arsondpi instructions (previous page of this thread) but can't figure out a few things:
- In [2] arsondpi writes: "Include this js in your index.html or call it in your index.html"
--> I can not find such index.html on my server. I believe Arsondpi is refereing to on of the index.php files but which one?
- In [3]
--> What file does [3] refer to? Same one?
Can anyone help?
Thanks
Try this download... the js and the plugin are ready to upload - the rest are easy.
I quote myself from further up... I've done a couple of mistakes but the instructions in this zip file are sort of fool proof.
Hi Arsondi, thanks for the package.
It is still not working and I think I did everything right.
see my full-background test page
upgrade to jquery 1.3
goodnight and/or good morning...
:-)
I used the instructions in this forum to set this up for a site the other day...I was amazed that it worked first time.
Thanks Arsondpi
I had no clue on how to 'upgrade to jquery 1.3' but after a few searches and a completly random try it worked!
I'd like to run the auto-resize function with content images instead of the background image. Do you think it would be possible to try for a newbie like me or should I just give up?
Yep...too hard for newbie...
Grrrrrrrrrr!
Thanks arsondpi for the package and Vaska A for everything else. I've managed to follow the instructions for the full-browser image, and it all seems to work except for a scroll bar that won't leave me alone. Not sure where I've gone wrong?
www.peterroot.comPeter Root
...thank Vaska - I only did the packaging...
#the-background should have a position: fixed otherwise the background scrolls down when the page is to long...
Thanks arsondpi. That worked a treat. I can't get over how cool Indexhibit is and how helpful and efficient this forum is!
I spoke too soon.
If both #background and #wrapper are position: fixed then the scroll bar disappears on my main page, which is want I want, but it means that in the exhibitions pages I am unable to scroll down to see the whole page.
If I change the #wrapper to position: absolute and leave the #background at position: fixed the scroll bar appears on both my main page and the exhibition pages... taking me back to my original problem.
Hmmm....
do I need to change anything other than the CSS?
this needs fiddling i think... you might need to change something else in your css.
#wrapper should be set in position: absolute; and ##the-background a position: fixed;
i tried something quick and dirty in firebug like:
#content {height:100%;margin: 0 0 0 300px;width:auto;}.container {margin-left:30px;padding:40px 5px 5px 25px;}
which I think did the trick... (this maybe wrong - verify that this works crossbrowser)
As you can see, if you try this, it has a lot to do with css rules and the way you apply them.
Try and understand the difference of padding and margin in css and search more information for the model box in css...
Thanks everyone for the knowledge – this forum has been so helpful, especially for a beginner like myself.
I’m having a bit of trouble with it at the moment, and I would appreciate any insight that anyone could provide.
I downloaded and followed arsondpi’s packaged guide (which was shared earlier in this thread, thank you so much for that!) I’ve implemented the new code, upgraded my Jquery to 1.3.2, and uploaded a background image onto my main page, and I’m still unable to make the full-browser background img to work…
Does anyone know what I’m missing? Here is my site.
Thanks!
it seems that you haven't upgraded to Jquery 1.3....
Firebug shows that you're still working with version 1.1.2
*hick* :-)
ahh silly me... thanks so much, that was the problem. it works great now.
this is my first time using CSS, java, etc ... i'm very happy to begin to be able to read it now, thanks to this forum.
Hi All,
Thanks for this great plugin... Is it possible with this to have the random bg plugin to work? or is there another way to have a random background?
my test page:
Thank you
...did you try it out? It would be good to know as well...
I wanted to try... But didn't know whit what to start... !!! Sorry...
Thanks
In order to use the full bg plugin listed here we need to change in index.php the plugin backgrounder... and this applies also to use the random plugin... so I am a bit confused...
In order to use the full bg plugin listed here we need to change in index.php the plugin backgrounder... and this applies also to use the random plugin... so I am a bit confused...
I tried by adding
plug:ndxz_rand_bg folder_name,tiling />
to index.php in my template but no result....
mmmmm!
For those having a problem with scroll bars I managed to get rid of them by adding in my stylesheet
overflow:hidden;
in the #the-background
Hope this helps....
Any clue to have a random bg picture working with the fullscreen plugin?
I heart indexhibit. Did I say that loud enough? I HEART indexhibit.
Vaska and arsondpi, you crazy crazy guys - you rock, air high five
Thanks
me too !!!
Thanks for the plugin Arsondpi. I've been trying to do this for a couple of days now. In your instructions though you begin with 'Open index.php of your theme'. In Eatock I can't find an index.php and in sample index.php opens reading 'Built with Indexhibit' - I can't see anything to edit. Am I looking in the wrong place? Thanks
Ok, worked that one out. Was using Textedit and now using Smultron.
Background image showing up now (will need to resize later) but it's loading on top of the menu - have tried searching forum for similar issues. www.timmillen.com
Tooth, you're kind of there. But you've put things in the wrong places.
Go back and follow Arsondpi's instructions line for line putting bits you already have done but exactly where he says.
Then it will work a treat ;)
