Click here to Skip to main content
15,887,585 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends

i am creating a Organisation chart using HTML , due to constant changes in the Department , we have to automate the Org chart to avoid constant changes to power point and images

Therefore i am creating the Org chart using HTML which will be publish to sharepoint later

i have already created a div , and have used Jquery to flip the div to view the person details , but i have the problem connecting two div using some line object ,can anyone suggest some plugin or javascript or some html code to show the connection between two divs using line
Posted

1 solution

Maybe you can have canvas in the background and by calculating div location (jQueryUI position i.e.)
you can write lines in canvas from one element to another.

Or maybe SVG instead of HTML5 (if you still using some crappy version of IE)?

This is most simple solution i guess. Other posibilities: there are some libraries that make it possible to generate images on the fly, and with some css you can place it on background.
 
Share this answer
 
Comments
Rickin Kane 4-Oct-12 6:11am    
Thanks man for your help , but i solved it using JsSimple connect Javascript , anyway thanks for your suggestion
n.podbielski 4-Oct-12 7:32am    
Thanks for you reply to. I didn't know about something like this. Interesting.
I thought about more curvy lines some i suggested drawing instead of adding html elemnts. It's more elegant i guess.
But more complicated to. Take care

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900