hello,
I'm not really good at coding and I would like to know if it's possible to place the text after the images instead of before when using the exhibit horizontal plugin..
thank you so much!
hello,
I'm not really good at coding and I would like to know if it's possible to place the text after the images instead of before when using the exhibit horizontal plugin..
thank you so much!
Very nice...and nice works too.
I believe, I think, that I put a note in the code itself that addresses putting text after the images. It's not there? Can somebody confirm or not confirm or whatever I'm trying to say?
;)
Nope...no comments...I had the code handy (I'm on a new laptop and not everything is on it yet - but it was).
These are the pertinent lines...starts around line 62...change to this and it should work just fine:
$s .= "<div id='img-container'>n";$s .= $a;if ($rs['content'] != '') $s .= "<div id='text'>" . $rs['content'] . "</div>n";$s .= "<div style='clear: left;'><!-- --></div>";$s .= "</div>n";All I did was move the text line to follow after $a...which are the images.
really pleased to hear that mate!! :)
thank you so much for helping with the code,
works perfectly, but there is one snag though..
there are 3 letters 'n' on the pages with text which I don't know where they come from..
so weird! hahah
how can I remove that??
Yeah...where ever you see the 'n' at the end of the lines (in the code I posted above) you need to add a forward slash before each n.
The forum doesn't like the forward so it takes them out inside the code.
Argh...forward slash!
\
;)
wow, as easy as that? cool!
i fixed already!! THANK U SO MUCH! :)
last thing, i wanna leave a wider gap between text and image. since I dont need 'text_padding_right' any more, should I change that for 'text_padding_left' or I should create a new var with this piece of code?
Hmmm...not sure. But, no, creating a new var won't solve it.
You'll need to widen the text space...and probably set a new CSS value for the paragraphs. All this info is in the format (CSS at the bottom). Then, you could add some kind of margin or padding on your text space to make it happen.
But, you'll need to also increase some the text width var...
I realize I'm rambling...I hope this is helpful enough. It's not that hard...just need to pay attention to the details.
i've just figure out how to make it easily...
it's not the best solution but it'll work... i just have to make the last picture a little bit wider, i mean, leaving some white/empty space on the right side of the picture :P
thanks a lot for your help Vaska!!!!! :)
var $text_width = 250;var $text_padding_right = 75;In the file...and then you would need to come up with something else for the spacing.
But, your solution is pretty simple...done.
by the way,
I posted a question this morning but I suppose nobody knew the answer..
would u know by any chance how to do this?
----
I'm not able to remove the vertical scrollbar from my website, even though the 'content' part is smaller than the screen the scroll bar keeps appearing.
How could I remove it, so that when people have bigger resolutions in their screens the vertical scrollbar doesn't show up?
for example here and
here
...apply margins and paddings to #content .container and not #content itself - for more info on this search the web for box model
#content { height: 100%; margin: 55 0 0 180px; top: 0; padding-left: 50px; padding-top: 0px;}should be more like
#content { height: 100%; margin: 0 0 0 250px; top: 0; padding: 0;}#content .container { padding-top: 50;}thanks a lot guys!!! I fixed already!!! :)
You need to be logged in to post.