Jump to content

cerstrand_mace

Members
  • Posts

    32
  • Joined

  • Last visited

Posts posted by cerstrand_mace

  1. hi. i do, know this is posible. http://www.twospy.co...xample-3.html#6 this link, wil go to one of Galleriffic's Exampel galleries, and show the image named 7 http://www.twospy.co...-3.html#bigleaf and this to the image named bigleaf.it uses the jQuery.History plugin. so with a little coding, it is posible. but to keap it simpel, wath i wil do on if it wash me, is to insert this in the head of the page.
    <script>$(document).ready(function() {var imagename = window.location.split('#')[1];if (qstring != undefind) {$('a[href=#' + imagename + ']').click();}});</script>

    iam not shure(sikker) if it wil work, becurce of somthing '[mod]More Human Than Human' asyncron rending of JavaScript, but i you can get it to run after the galleri is fully renderet

    The history plugin worked well! Strange how I missed that function :)I didn't use your code-snippet though, just copied the one from Galleriffic.Thanks for the help!
  2. Hi!My question is kind of simple, but I realize that the solution might be kind of complicated:Is there a way of linking to a specific state in a javascript gallery? I want to be able to link to each image in my gallery from another page on the site. When you click the link you shall be directed to the page with the gallery and the gallery should show the desired image, in it's general place in the javascript.Is there any solution for this? Here's the gallery:http://www.triwest.se/mattor_design.html /Carl

  3. Wait I am assuming your talking about the search box on the right. Its being pushed down because its not inside the container div. Put it inside, remove the right margin from the content div. Solved.
    Your suggestion sounds right, but it doesn't solve the problem. Any other idea what might cause the problem?This is what happens when I put the primary widget into the container div and remove the right margin from the content div: www.kappfjell.se
  4.    html {  	/*overflow-x: hidden;*/} #meny {  	float: right;	margin-right: 122px;	margin-top: 62px;	padding: 0;	position: relative;	text-align: right;	z-index: 1;}   #meny ul {  	float: left;	margin: 0;	padding: 0;}

    a ul menu usually makes up a horizontal menu in one, not individual ul for each menu item,

       <ul>		<li><a href="index-test.html"><img width="111" height="36" src="bilder/om_oss-button.jpg"></a></li><!--closing of main li tag--> 		<li><a href="#"><img width="111" height="36" src="bilder/mattor-button-A.jpg"></a>			<ul>				<li><a href="mattor_teknik.html"> Teknik </a></li>				<li><a href="mattor_farger.html"> Färger </a></li>				<li><a href="mattor_design.html"> Design </a></li>				<li><a href="mattor_alternativ.html"> Alternativ </a></li>				<li><a href="mattor_ekologiskt.html"> Ekologiskt </a></li>			</ul><!--closing of inner ul tag-->		</li><!--closing of main li tag--> 		<li><a href="belysning.html"><img width="111" height="36" src="bilder/belysning-button.jpg"></a></li><!--closing of main li tag--> 		<li><a href="referenser.html"><img width="111" height="36" src="bilder/referenser-button.jpg"></a></li><!--closing of main li tag--> 		<li><a href="kontakt.html"><img width="111" height="36" src="bilder/kontakt-button.jpg"></a></li><!--closing of main li tag-->	</ul>

    That solved my problem perfectly! Now I understand what the problem was aswell.Thanks alot! :good:
  5. I experience very annoying issues with a site I'm building. I've searched a great number of forums but haven't been able so solve it yet. The problem is easily discribed:The site generates an overflow of space to the right of the body witch causes an unwanted horizontal scrollbar. Most of the forums i've encountered suggest using this CSS: overflow-x: hidden; along with overflow-y: auto; I've tried all ways I can think of with this function but it just won't work the way I want it. Here's the site i'm working on: http://www.triwest.se/index-test.html Grateful for help! Thanks!

×
×
  • Create New...