adding custom float to pre existing wordpress template without damage - php

Long story short is. I created this http://jsfiddle.net/paDmg/368/ and I would like to add it to www.avueduesgins.com/new on the right hand side underneath the banner next to latest works.
The reason why I do not use a widget is because I do not the transparent background. I would like if I could replicate the style divs in a 3x3 fashion but they need to be rollovers...
Our php guy is out of town for 2 weeks, and I would like to get this project finished. I have very limited skills in php, but with the right direction I am sure I can achieve my goal, I just need help finding which way to go.
If there is another way to achieve what I am trying to do I would like to take any advice. Thanks and hope someone can help a fellow out.

Why not add it as a widget, but then use CSS to remove the background? If that's the only thing preventing you from using a widget, CSS is easier than changing your sidebar template.
#yourwidgetsid {background:none}

Related

Load Various Content into Div in Wordpress

I am wondering how to achieve this effect in Wordpress... http://www.wendys.com/
My client would like to have various clickable areas that will load content at the top of the page like on Wendys.com
What would be the most logical way to do this in Wordpress? I've done some research and it seems like ajax would be the best way to go, but I've never used it whatsoever. Can anyone walk me through this?
Thanks so much!
Here is a website that has instructions to get you going. The point of stacks is to help you in a project, but not to write the code for you. This will get you going in the right direction once you have it going and you have further problems come on back and I will be happy to help.
http://jquerytools.org/demos/overlay/external.html

How would someone add a simple On/Off switch for Wordpress?

First time poster here and I've got a fairly novice question for you. I'd like to write a simple module that lets an administrator in Wordpress turn an HTML snippet on and off with a simple check box. The idea is fairly straight forward. Depending on the weather, his business will either be "In Service" or "Out of Service".
I know this is probably a bit simple for most, but I'm just not stepping into Wordpress and wasnt sure where to begin with something like this. Any direction would be fantastic. Thanks!
Why dont you just use a Wordpress Widget. A text display widget ships with Wordpress out of the box.
Here is the WP Codex link explaining Widgets.
http://codex.wordpress.org/WordPress_Widgets
It would probably be easiest to just wrap the html snippet in javascript. I'm not sure the best way to make it "toggleable" though - you might need to code it as an actual plugin and add a page to the control panel with a custom widget.
The good news is that such a plugin should be very easy, even with only basic skills.

Drag items onto draggable object

I am currently developing a wordpress plugin. This plugin requires to drag certain items onto an image. The layout is like this:
And i need to save the points that are dragged onto the picture into the database. I also need the ability to edit the points or remove the points.
Does anybody knows a good method of achieving this?
Kind regards,
Jack
Edit:
Maybe i'm being a little bit vague about this, but all i need is suggestions.. I do not need people to write code for me.
A google search gave me:
http://www.codingforums.com/showthread.php?t=160798
http://jquery-howto.blogspot.com/2009/07/identifying-locating-mouse-position-in.html
jQuery get mouse position within an element
http://www.switchonthecode.com/tutorials/jquery-snippet-relative-mouse-position
My suggestion is that onmouseup() you get the co-ordinates and store them.
A bit more googling and I found this answer:
Alternatives to trigger('mouseup') to stop dragging programmatically
Maybe this will help you.
Good luck :)
That's a lot you are asking eh, you can't expect us to write it for you but we can point your nose in the right direction :)
I suggest you start looking at the jQuery UI draggable plugin (and of course droppable too), it offers quite a flexible drag and drop implementation.
Manipulate the jquery ui draggable plugin
http://jqueryui.com/demos/draggable/

PHP Tab implementation

I am trying to implement tabs within one tab and I would like some help with it.
I found some codes for the upper tab and tried to implement them into the lower set of tabs. These codes are not mine. I simply put them together to display what I wanted which obviously doesn't seem to work properly...
The following is what happens:
1) If you click on the upper tab, the page doesn't refresh itself.
2) If you click on the lower tab, the page refreshes itself and changes the "id=?" on the address bar which is what I DO NOT want.
Will it be possible for this problem to be fixed?
This is a SAMPLE website so it will not be tidy
http://www.swan10.nl/stuff/testie/testie.php
The CSS were made to display classes however the PHP website only works if these codes are used class="TabView" id="TabView". I know you cannot use "id" more than once so I even made another set of CSS & Javascript for id="Tabview2" etc but it didn't work so I didn't bother uploading them to save space.
I don't know if this is the best code to use but if they aren't please give some suggestions for better codes. Or I may have just missed something tiny and silly.
Please help & thank you in advance!
I highly recommend you look at the Tabs feature of jQuery UI. It will seriously remove all the headaches of trying to figure out logic yourself, it's super easy to set up and use, and LOTS of people use it so there is plently of good information and support floating around on them.
http://jqueryui.com/demos/tabs/

Where do I start with a changing homepage?

I'm building a website with a homepage that has a different article everyday. I know how to change it using html, but that requires daily maintenance. Is there anyway I can change a picture and text daily without changing code everyday? I'd also like to be able to see the previous days' article by using an 'older' button or something.
I'm not asking for the whole code by the way, just for someone to point me in the right direction. Thank you
It sounds like you're looking for WordPress.
How about a Content Management System like Joomla? If you're just doing static content updates, that may work well for you
You probably need to utilize CMS to match your needs.
You Can Make this by adding the article and images into the database. or images in the folder.
You can google for better article for doing this.or you can use cms e.g. joomla , wordpress.
Thanks

Categories