[EventCalendar] event-calendar vs. simple tags

Alex Tingle alex at firetree.net
Wed Oct 10 22:27:28 UTC 2007


Hi Marcus,

Thanks for sending me the HTML. Your problem is caused by this chunk
of code...

     		<script type="text/javascript">
		//<![CDATA[
		collection = [
		"", "action", "akuma", "anlage", "bad boy bill", "banner",  
"beatboxing", "beatport", "bilder", "blitz", "broque", "butan-club",  
"buttons", "cc", "charts", "daft punk", "dj playlist", "DJane",  
"downloaden", "dumme kinder", "electro", "elektro", "ep",  
"experimentel", "filesharing", "fotos", "freie musik", "freikarten",  
"grooving girl", "halo", "harald walker", "interview", "jamendo",  
"Jean Michel Jarre", "jump", "jumpstyle", "leben", "malente", "mix",  
"moonbootica", "musik", "napster", "neodisco", "neue scheibe", "nils  
hoffmann", "party", "paypal", "phil fuldner", "Podcast", "preacher  
man", "querflöte", "recordrelease", "redakteuere", "relaunch",  
"silvester", "simpsons", "songtext", "stern tv", "steve sound",  
"telefon", "tocadisco", "top5", "trigami", "turntablism",  
"vertretung", "video", "videos", "vinyl", "vista", "werbung",  
"Windows", "wuppertal", "youtube"		];
		//]]>';
		window.onload = function() {
			var tags_input = new BComplete('tags-input');
			tags_input.setData(collection);
		};
		</script>


...specifically this bit:

		window.onload = function() {
			var tags_input = new BComplete('tags-input');
			tags_input.setData(collection);
		};

That grabs the entire onload function, and discards any previous  
settings
it might have had. You need to find whoever wrote that code (looks like
it might be your tags plug-in, but I'd check that yourself). When you've
found them, you need to hit them with a cluebat:

  My personal solution is here...
  http://blog.firetree.net/2005/07/17/javascript-onload/

  WordPress devs have their own (similar) solution, called  
"addLoadEvent()".

-Alex

--

On 10 Oct 2007, at 21:23, Marcel A. W. Spitau wrote:

> Hi Alex,
>
> Am Mittwoch, 10. Oktober 2007 schrieb Alex Tingle:
>> Can you show me an example of the problem.
>
> Man, too stupid... I tought you have a crystall ball, where you  
> could take a
> look, what's going wrong... ;)
>
>> Which browser reports the problem? What error message or malfunction?
>
> Firefox 2 on GNU/Linux (Kubuntu feisty)
>
> I made a picture which schould explain the problem. Take a look here:
> http://img171.imageshack.us/img171/1416/eventvssimplejp0.png
>
> I am using spotmilk theme for my backend. But I tried it with the  
> normal
> template and it doesn't work either. On the other hand, I never had  
> problems
> with spotmilk.
>
> So if you have some more questions, let me know... I am here for  
> answering. :)
> Or take a look at the crystall ball, if it's back from the repair  
> shop :D
>
> Cu
> Marcel
> -- 
> Marcel A. W. Spitau
> Schlicksweg 12
> 22307 Hamburg
> Tel. +(49) 40 - 41368448
>
> Noch ist es Tag; da rühre sich der Mann! Die Nacht tritt ein, da
> niemand wirken kann.
> 		-- Johann Wolfgang von Goethe
>
> _______________________________________________
> Blog: http://wpcal.firetree.net/
> EventCalendar at firetree.net mailing list
> Unsubscribe: http://penguin.firetree.net/eventcalendar




More information about the EventCalendar mailing list