Jump to content

miela1

Members
  • Posts

    6
  • Joined

  • Last visited

About miela1

  • Birthday 10/08/1986

Previous Fields

  • Languages
    c#, JavaScript, jQuery, VBScript, VB.NET, SQL,

Profile Information

  • Location
    Lime, Denmark

miela1's Achievements

Newbie

Newbie (1/7)

0

Reputation

  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
  2. hej, You kud, add an onClick event on page, then ask menu tu close when the page is clicked. $('#page').click(function () {#('#menu').hide() //or what else you use to close you menu}); i have yoused this many times, it may not be prity, but it is simpel and it wil hide you menu. hobe it Helps, Mikkel
  3. Maybe somthing like this, Page with link <a href="gal.htm?sowImage=filkename.png">Link to image</a> page with gallery <script>var gstring = window.location.split('#')[1];if (qstring == 'showimage') {filename = qstring.split('=')[1];if (filename != undefind) { //code show you image}}</script> that makes it posible to detect, witch like used to go to the gallery, then you just use the same code at when you change pics. hope it helps
  4. Thanks. now, that you say that, i don't know why, i did not think of it my self. but then agen that's why forums like this exist, as humans we get stuck in one way of thinking, and need input from an other person to get un stuck.
  5. Hi, asuming, you run VS2008 - VS2010 as you IDE and you use Windows vista or newer, you already have the newest framework, framework 4, so that is not somthing to think about. how ever, i wil recoment thet you build you project in framework 3.5 or 4,
  6. Hej, i don't understandt, why, this dosent work, i am trying to make an factory to add locations to my map, but i am new to the google maps API, and not thatb adv. in JavaScript. i know that if it had bin an c# function it will work. hope sombody can help, and sorry for my pure spelling skills, function calcLatLng(adresse) { var Local = new google.maps.LatLng; geocoder.geocode({ 'address': adresse }, function (results, status) { if (status == google.maps.GeocoderStatus.OK) { Local = results[0].geometry.location; console.log(Local); //this log the corect result, } else { } });// if i make an 'console.log' here only gets a empty 'google.maps.LatLng' object return Local;}function addNewPlace(info, icon, adresse, title) { var marker = new google.maps.Marker({ map: map, position: calcLatLng(adresse), // but here i only gets a 'undefind' title: title, icon: icon }); var infowindow = new google.maps.InfoWindow({ content: info }); infowindow.open(map, marker);}
×
×
  • Create New...