Forums » Customize

Create full-browser background img

theosdesign
GREECE
2009-06-29 10:14:20
Permalink Post
 

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?

theosdesign
GREECE
2009-06-29 11:14:13
Permalink Post
 

Well you can't see it now, because i download it. I think i do everything right but it doesn't work.

arsondpi A
GREECE
2009-06-29 15:51:44
Permalink Post
 

Καλησπέρα - ακολούθησες τα όλα τα βήματα;
Δεν βλέπω το full-background.js ούτε το #wrapper στην index.php σου. Μόνο το css έβαλες...

theosdesign
GREECE
2009-06-30 09:06:50
Permalink Post
 

Καλημέρα! Ναι γιατί τα έβγαλα... από το δικό σου post ακολούθησα όλα όπως τα έγραφες. Αλλά δεν μου το έκανε; Επίσης μου χάλαγε το menu! Το έχω προσπαθήσει πολλές φορές(!!!) αλλά τίποτα! Δεν ξέρω τι κάνω λάθος.

arsondpi A
GREECE
2009-06-30 18:01:50
Permalink Post
 

Δεν μπορώ να σε βοηθήσω πάντως αν δεν το στήσεις - έστω όπως-όπως...
Μπορείς πάντως να δείς το plugin σε δράση στην ιστοσελίδα μου...

Vaska A
UNITED STATES
2009-06-30 18:18:29
Permalink Post
 

Does it work yet?

;)

arsondpi A
GREECE
2009-06-30 18:47:28
Permalink Post
 

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...

sas_steven
UNITED STATES
2009-07-02 22:14:19
Permalink Post
 

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.

arsondpi A
GREECE
2009-07-03 08:57:59
Permalink Post
 

...well I googled what a t-string is. Did you miss out on a semicolon?

sas_steven
UNITED STATES
2009-07-03 13:27:53
Permalink Post
 

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:

  1. <?php if defined'SITE' exit'No direct script access allowed'
  2. /**
  3. * Backgrounded
  4. *
  5. * Full Size Backgrounded
  6. * 
  7. * @version 1.0
  8. * @author Vaska 
  9. */
  10. function full_background 
  11.     // we'll just get it from the page background image
  12.     global $rs
  13.         if $rs'bgimg' != '' 
  14.         // get the dimensions
  15.         $size  getimagesizeDIRNAME  '/files/'  $rs'bgimg'
  16.         return "<img src='"  BASEURL  files$rsbgimg' width='$size0' height='$size1
  17.         
  18.     return
  19. ?>

The error message says that the error occurs on line 12, which is:

  1. 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...

sas_steven
UNITED STATES
2009-07-03 13:29:40
Permalink Post
 

wooops...
sorry, i thought i only put the code in the brackets...
i apologize for the horizontal scroll bar.

arsondpi A
GREECE
2009-07-03 14:30:11
Permalink Post
 

Try this download... the js and the plugin are ready to upload - the rest are easy.

sas_steven
UNITED STATES
2009-07-03 14:49:53
Permalink Post
 

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...

theosdesign
GREECE
2009-07-03 17:28:17
Permalink Post
 

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.

theosdesign
GREECE
2009-07-03 17:53:59
Permalink Post
 

well now you can see it. if you can tell me anything that will help!

arsondpi A
GREECE
2009-07-03 18:30:59
Permalink Post
 

Το plugin λειτουργεί με το jquery 1.3! Το έχουμε πεί αυτό...
Αναβάθμισε το στην τελευταία έκδοση - με αυτό θα λειτουργήσει.
Στην παρούσα έκδοση του indexhibit το thickbox και το jquery 1.3 δεν τα πάνε καλά και έτσι δεν θα δεν θα μπορείς να χρησιμοποιήσεις το thickbox...

Πάντως λόγω του ασπρόμαυρου background θα το δείς να κάνει κάτι ευχάριστα περίεργο με το κείμενο όταν μικραίνεις/μεγαλώνεις το παράθυρο!

...do check the download link above.

theosdesign
GREECE
2009-07-03 18:40:25
Permalink Post
 

Πώς το αναβαθμίζω; sorry για όλα αυτά! 10 φορές είδα τα javascript στο δικό σου site και αυτο δεν το πρόσεξα.

theosdesign
GREECE
2009-07-03 18:59:14
Permalink Post
 

Ok arsondpi.... i think it's working fine now! Check it out and tell me. Thnx for everything!

7
UK
2009-07-04 20:04:33
Permalink Post
 

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?

bertalexis
UNITED KINGDOM
2009-07-11 14:01:51
Permalink Post
 

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

arsondpi A
GREECE
2009-07-11 17:40:00
Permalink Post
 
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.

bertalexis
UNITED KINGDOM
2009-07-11 20:54:15
Permalink Post
 

Hi Arsondi, thanks for the package.
It is still not working and I think I did everything right.
see my full-background test page

arsondpi A
GREECE
2009-07-12 01:27:20
Permalink Post
 

upgrade to jquery 1.3
goodnight and/or good morning...

:-)

Vaska A
UNITED STATES
2009-07-12 07:40:42
Permalink Post
 

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.

bertalexis
UNITED KINGDOM
2009-07-12 09:57:13
Permalink Post
 

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?

Vaska A
UNITED STATES
2009-07-12 10:02:31
Permalink Post
 

Yep...too hard for newbie...

bertalexis
UNITED KINGDOM
2009-07-12 10:52:40
Permalink Post
 

Grrrrrrrrrr!

repeterepete
UK
2009-07-16 07:20:12
Permalink Post
 

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

arsondpi A
GREECE
2009-07-16 10:37:53
Permalink Post
 

...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...

repeterepete
UK
2009-07-16 10:46:16
Permalink Post
 

Thanks arsondpi. That worked a treat. I can't get over how cool Indexhibit is and how helpful and efficient this forum is!

repeterepete
UK
2009-07-16 12:35:06
Permalink Post
 

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....

repeterepete
UK
2009-07-16 12:38:39
Permalink Post
 

do I need to change anything other than the CSS?

arsondpi A
GREECE
2009-07-16 16:15:41
Permalink Post
 

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:

  1. #content {
  2. height:100%;
  3. margin: 0 0 0 300px;
  4. width:auto;
  5. }
  6. .container {
  7. margin-left:30px;
  8. padding:40px 5px 5px 25px;
  9. }

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...

booski
UNITED STATES
2009-07-16 20:53:20
Permalink Post
 

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!

arsondpi A
GREECE
2009-07-17 00:58:00
Permalink Post
 

it seems that you haven't upgraded to Jquery 1.3....
Firebug shows that you're still working with version 1.1.2

*hick* :-)

booski
UNITED STATES
2009-07-17 05:23:56
Permalink Post
 

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.

poivrelost
FRANCE
2009-07-17 09:09:28
Permalink Post
 

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:

poivre.net

Thank you

arsondpi A
GREECE
2009-07-17 10:04:58
Permalink Post
 

...did you try it out? It would be good to know as well...

poivrelost
FRANCE
2009-07-17 13:06:01
Permalink Post
 

I wanted to try... But didn't know whit what to start... !!! Sorry...

Thanks

poivrelost
FRANCE
2009-07-17 15:26:46
Permalink Post
 

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...

poivrelost
FRANCE
2009-07-17 15:26:57
Permalink Post
 

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...

poivrelost
FRANCE
2009-07-17 16:07:18
Permalink Post
 

I tried by adding

  1.  plug:ndxz_rand_bg folder_name,tiling />

to index.php in my template but no result....

mmmmm!

poivrelost
FRANCE
2009-07-17 16:24:41
Permalink Post
 

For those having a problem with scroll bars I managed to get rid of them by adding in my stylesheet

  1. overflow:hidden;

in the #the-background

Hope this helps....

poivrelost
FRANCE
2009-07-19 10:00:56
Permalink Post
 

Any clue to have a random bg picture working with the fullscreen plugin?

juliobesq
UK
2009-07-19 12:20:09
Permalink Post
 

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

poivrelost
FRANCE
2009-07-19 12:57:14
Permalink Post
 

me too !!!

tooth
UNITED KINGDOM
2009-07-19 16:40:11
Permalink Post
 

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

tooth
UNITED KINGDOM
2009-07-20 11:34:19
Permalink Post
 

Ok, worked that one out. Was using Textedit and now using Smultron.

tooth
UNITED KINGDOM
2009-07-20 11:40:14
Permalink Post
 

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

7
UK
2009-07-21 22:58:15
Permalink Post
 

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 ;)

Showing 51 - 100 of 509 posts in Forum > Customize > Create full-browser background img